Hi all!
I'm using the window to realize a modal dialog. I put a VLayout in the Window, the point is to use it as the window content.
On this content (VLayout) I add 2 other layouts:
- the first being the main panel (mainPanel)
- and the second containing the buttons (next, back, cancel etc...)
I set the following size for both layouts
mainPanel.setWidth100()
mainPanel.setHeight100()
buttonsPanel.setWidth100()
buttonsPanel.setHeight(20)
When the dialog is started, the buttonsPanel takes the 90% of the height. After i resize the dialog, the correct settings are displayed.
What could be the cause of such a behavior?
Thanks in advance..
best regards
I'm using the window to realize a modal dialog. I put a VLayout in the Window, the point is to use it as the window content.
On this content (VLayout) I add 2 other layouts:
- the first being the main panel (mainPanel)
- and the second containing the buttons (next, back, cancel etc...)
I set the following size for both layouts
mainPanel.setWidth100()
mainPanel.setHeight100()
buttonsPanel.setWidth100()
buttonsPanel.setHeight(20)
When the dialog is started, the buttonsPanel takes the 90% of the height. After i resize the dialog, the correct settings are displayed.
What could be the cause of such a behavior?
Thanks in advance..
best regards