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
Like ?
In the beginning i found the stretch factor pretty odd as im used to %
but its quite easy.
The sum of the number is the total (100%) so you simply assign a value to each
col/row that says how many of the total.
so in this case it get 2 from 3. ( 2+1) -
@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