On Tue, May 08, 2007 at 05:04:27PM -0500, Bo Peng wrote: > >Starting with your ui file I get a design which seems ok when I click > >1. in the QGroupBoxlayout->vertical (then I see the narrow band) > >2. again layout->vertical on the empty space on the right of the QGroupBox > >3. and change the sizePolicy property of listingTB to expanding > > This seems to work and I do not know why. But if I > > 1. create a new dialog > 2. put a push button > 3. put a group box > 4. put a lineedit in group box > 5. select push button and group box > 6. layout vertically > > groupbox is a groupbox of size 0 (?) and lineedit disappears. This > bothered me quite a bit and reading designer help did not help.
The groupbox itself needs a layout. If there's only one item in there (the lineedit) it doesn't really matter which kind of layout, but one is needed... Andre'