Adjustment of all widgets according to change in Size of UI Window Screen.
-
@VIDYUL-SHAH
In Object Explorer yourcentralWidget
has a "red no entry" sign, indicating it does have a layout on it. You never want that to be the case. Right click on it and set a layout. -
@VIDYUL-SHAH You need to click on the widget itself...
-
@jsulm
I think he has done that.@VIDYUL-SHAH
Don't ask me why or why it's so complicated in Designer. Just for now delete everything you have on the central layout. Then add some widget to it, doesn't matter what. Then you should be able to right click and select Set layout > at the bottom of the context menu. Or maybe you have to do on the widget in the actual viewing pane. Fiddle till you get it right, because you're going to need to do this for future widgets where you want a layout. It doesn't let you set a layout on a widget till it has a child widget, even though you could delete the child widget afterwards. To me it all makes no sense, but I didn't design it.... -
This post is deleted!
-
@JonB @jsulm After reading your replies, I created a new main window and removed status and tool bar. Then I have added two new widgets and 1 label. Still it doesn't give me any options neither, it enables layout options below the tool bar in qt designer. Is there a possibility that I might have not downloaded a full version of the software? Or I am doing a silly mistake.
-
@VIDYUL-SHAH said in Adjustment of all widgets according to change in Size of UI Window Screen.:
it enables layout options below the tool bar in qt designer
This should be exactly what you need. You really just have to right click on your main window (in an empty place) in designer.
-
-