How to do the layout?
-
Hi,
Dont use fixed size, u can check sizepolicy, expanding , Which will resize horizontally and vertically, as widget parent resizes.
Thanks,
-
Original:
Want to layout as below, and the tab widget will resize automatically when its parent resizes:
Does
Qt Layoutcan solve problem quickly?Thanks.
-
@jronald Hi,friend.welcome.
if you want it in ui file. Just clicke your mouse in the
QTabWidgetparent. and then use hot keyCtrl+Gto set the parent ofQTabwidgetto layout isQGridLayout.That is all.