You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Saturday, April 20th 2013, 8:38pm

QGridLayout items displaced when maximize and minimise


I have 5X3 Gridlayout, when ever i maximize my window the spacing between the items is adjusted again .

when we maximize the window the space is more which makes the UI awkward.

how can i maintain the space between the items constant irrespective of size of the main window.

can somebody help?



  • "_Blueman" is male

Posts: 196

Location: Poland

  • Send private message


Sunday, April 21st 2013, 10:38am

check sizeConstraint() and spacing()