开发者

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:

QGridLayout didn't maintain ColumnStretch ratio


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜