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 column of QGridLayout.

In Ubuntu Linux though, I get the following:

-Sanjeev