QGridLayout didn't maintain ColumnStretch ratio
How do I make QGridLayout maintain the set 'ColumnStretch' value for this form.
In Windows, the caption label on top of treeview is small because the font is small and it doesn't push the first column of QGridLayout to take more space from the second 开发者_JS百科column of QGridLayout.
In Ubuntu Linux though, I get the following:
Since you know the reason for this behaviour, I guess you just want to hear some suggestions. These are my suggestions:
- Change the text, so it consumes less space - "Available specifications" sounds good to me
- Separate the long line on two rows
- Change the font size (you can change it only under linux, if you want)
- Combine the two labels on top in one, spanning on two columns, describing the form as a whole - "These are the available installed specifications and their description"
Hope this helps
精彩评论