zenzero-2001
7th August 2010, 17:35
Hello
This is a bit of newbie-ish question, even though I'm not a newbie. I have a QToolBox inside a QDockWidget. I have a custom widget "GeneralPage" that I add to the toolbox before adding that to the dockwidget. I have created "GeneralPage" using the designer, but everything else I have coded manually.
I have two problems. Problem 1, my various lineedits, comboboxes etc that I have on my page do not stretch as I would like, nor can I get them to be the initial size that I would like. Problem 2, shrinking the page so that it is too small to show the contents does not result in scrollbars appearing.
I have tried various layouts and spacers but nothing makes any difference. I've spent hours on this! I must be doing something fundamentally wrong. Perhaps I should code everything manually? Thanks.
This is a bit of newbie-ish question, even though I'm not a newbie. I have a QToolBox inside a QDockWidget. I have a custom widget "GeneralPage" that I add to the toolbox before adding that to the dockwidget. I have created "GeneralPage" using the designer, but everything else I have coded manually.
I have two problems. Problem 1, my various lineedits, comboboxes etc that I have on my page do not stretch as I would like, nor can I get them to be the initial size that I would like. Problem 2, shrinking the page so that it is too small to show the contents does not result in scrollbars appearing.
I have tried various layouts and spacers but nothing makes any difference. I've spent hours on this! I must be doing something fundamentally wrong. Perhaps I should code everything manually? Thanks.