Making a custom UI resizable
Solved
General and Desktop
-
I have a UI with manually placed controls that I would like to make resizable. From what I've looked up the way to do this is to use layouts, but when I try to create my setup using layouts I can't get the alignments and locations I want since it "snaps" the controls into places I don't want. Is there a way to create this UI setup I have and make it resizable so that all the controls scale with the window size?
-
Hi,
If you don't want to use layouts, then you have to reimplement the resizeEvent method of your main widget and do there the sizing and placing the way you want it.
-
Hi,
If you don't want to use layouts, then you have to reimplement the resizeEvent method of your main widget and do there the sizing and placing the way you want it.