Hi
I have a Widget in QT which I want to resize and make it dynamic i.e the size shold not be fixed.When I try to minimize the application,the widget lying within the application should resize accordingly.
How can I do that?
Hi
I have a Widget in QT which I want to resize and make it dynamic i.e the size shold not be fixed.When I try to minimize the application,the widget lying within the application should resize accordingly.
How can I do that?
That has nothing to do with size policy (or only very little).
This is the job of layouts.
Do all containers, starting at the window itself, have layouts?
Cheers,
_
Hi
Basically there is a main application which has few dockable widgets.I want the size of the widgets modified.So i wrote a code for SetFixedWidth.But everthing gets jumbled up when I try to minimize the main application since widget width is now fixed.
So I want that the size of widgets gets modified such a way that it is dynamic.
-Thanks,
Yes, the name "fixed size" should be a strong hint that it is not dynamic, no?
So, just don't do that.
Cheers,
_
But then what is the command for making it dynamic?
I am afraid I don't understand.
There is no "command", layouts are dynamic by default.
Cheers,
_
Bookmarks