Resize buttons in different layouts of Qt form -


sorry bad english. have 2 horizontal layouts buttons , text edits , grid layout buttons. form has vertical layout. need buttons text edits resize vertically same buttons in grid layout. can make 1 of parts of form resize: when buttons in horizontal layouts have size policy expanding, grid layout not resize, otherwise grid layout resizes.

screenshots

enter image description here

enter image description here

enter image description here

mainwindow.ui file

the problem resides in stretch distribution of verticallayout (qvboxlayout) of centralwidget. @ moment space rather equally distributed (taking minimum size account) on 2 vertical layouts , grid layout. want distribution of 1 (vertical layouts) 7 (grid layout), because there 7 rows in grid layout. so, should change centralwidget > layout > layoutstretch factor 1,1,0,7. (0 vertical line)

enter image description here


Comments

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -