Layout problems
-
Hi
I have a grid layout that contains 2 vbox layouts
each vbox layout contains a QTableWidget.As it stands the space in the grid layout is shared equally between the two vbox's
However I want to have the first vbox to have 2/3 of the space but cannot seem to get it to work.
I have played with the layout stretch factors but cannot seem to find the correct solution
Please can someone give me some hints.
Thanks
-
-
Hi Thanks
That has clarified some things.
Can the same be done with a vertical layout? -
@GrahamLa
Yes they also have stretch factor.
Here top get 3 from 4
-
-
@GrahamLa
Did you set any min/max values on the Tables ?
It works fine here
You can try the test sample just to be sure it works with your installation
https://www.dropbox.com/s/kqz2vo8gwbm36j3/layout.zip?dl=0 -
Thats seems to be the problem
Thanks for your help -
@GrahamLa
Ok super. if you restrict widget, then layout will obey the limit.
please mark as solved if your happy.
4/8