Hi,
I created a dialog using the Qt designer
In the dialog I have several widgets with size policy fixed
And in the middle I have an empty Vertical box layout
all the controls (and the empty box layout) are in vertical box layout
In the application itself I add a customized widget (made of one line of 4 controls) to the empty vertical box layout
When I activated the dialog I saw that the empty (which is now filled) occupy so that it fills the dialog (means that there is vertical space between the widgets I added dynamically)
I want to set the dialog to the size of it's contents
The following is the screen shot
NormilizeDialog.jpg