WDialog and layout

Added by Maximilian Kleinert over 5 years ago


I am trying to make a WDialog with header, contents and footer. When the contents is too large there should be a scrollbar only for the contents part.

It works when I specify the maximum size for the WDialog absolute. If I specify the maximum size of the WDialog as percentage, the size of the WDialog seems correct but the white background is not drawn all to the bottom.

See the attached screenshots and code example.

I also tried to put a layout manager in the contents part but the effect was the same.

Thank you.

Best regards