Yes, I was right - you didn't apply a layout to the central widget itself. Instead you had a floating layout, hence the mess in code you provided. Didn't Designer warn you about a floating layout?
Here is a corrected file.
Yes, I was right - you didn't apply a layout to the central widget itself. Instead you had a floating layout, hence the mess in code you provided. Didn't Designer warn you about a floating layout?
Here is a corrected file.
Last edited by wysota; 15th April 2008 at 14:17. Reason: Updated attachment
What is a floating layout, and what exactly did I wrong? And no the designer never warned me. And I created the dialog as I created every dialog.
If I download and compare with my own one they have not changed. So I cannot see your corrections.
A floating layout is a layout without "parent" widget. Take your ui, open it, grab the layout with your mouse and try to move it. If it moves, it's floating.
If so, then you created every dialog incorrectly.And I created the dialog as I created every dialog.
Hmm... sorry, must have forgotten to save the file. Try it again.If I download and compare with my own one they have not changed. So I cannot see your corrections.
Click on the form itself and then on one of the layout buttons, like I did in my ui file.
Bookmarks