punkypogo
6th May 2008, 12:50
Hello,
In my app, I have a dockwigdet in which there is a (promoted) widget.
This widget has a more/less button : when I click on "more", the widget expands to show advanced options, and when I click on "less", the widget shrinks hiding the advanced options.
My problem is that when I click on "less", the dockwidget doesn't shrink at all, letting tons of space, which is ugly.
I saw this article (http://wiki.qtcentre.org/index.php?title=Expanding_dialog) on the wiki, but it doesn't work :(
Do you have an idea ?
In my app, I have a dockwigdet in which there is a (promoted) widget.
This widget has a more/less button : when I click on "more", the widget expands to show advanced options, and when I click on "less", the widget shrinks hiding the advanced options.
My problem is that when I click on "less", the dockwidget doesn't shrink at all, letting tons of space, which is ugly.
I saw this article (http://wiki.qtcentre.org/index.php?title=Expanding_dialog) on the wiki, but it doesn't work :(
Do you have an idea ?