How to scale columns evenly?
-
Hi all,
I'm not sure how to achieve this exactly.
I'm using QT Designer - how can I make the columns layout more evenly?
Right now it looks weird with the last column taking up the majority of space.
I tried going through the property editor, only setting I found that does something is "horizontalHeaderStretchLastSection" but that just stretches the last column.
I want them more evenly laid out - is there some setting for this?
-
You have to do it by yourself.
-
You have to do it by yourself.
@Christian-Ehrlicher Could you clarify please? Not sure what you mean there.
Do it myself where? -
@Christian-Ehrlicher Could you clarify please? Not sure what you mean there.
Do it myself where? -
Doing it yourself by writing code :)'
Because you need a dynamic approach as the widget might change its size, so all the cols would need to match that as well.
-
@Pl45m4 but is there no method to at least have an 'initial' size for the columns, for example for previewing the UI?
@Nmatan said in How to scale columns evenly?:
but is there no method to at least have an 'initial' size for the columns
See