Yes you are right. from code it's more optimal.
but does it mean that I have to create the gui from the code?
or does the designer generates "QGridLayout::addWidget" somewhere when I add a widget on the form? If so I'll be able to update that code.
no, you can create GUI using designer and then you can get access to a layotu in code and set properly alignment.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks