[Qt-interest] Fixing position of an element across all resolutions

Ross Bencina rossb-lists at audiomulch.com
Mon Jun 7 14:27:21 CEST 2010


> - I made ui forms for 1440X900 resolution (width & height)
> - When I launch in 1280 X 1024, elements are slightly coming down; since
> the available height is more

Perhaps the visible parts of the elements are vertically centered?

If you want all the elements to squash together at the top of the view, 
insert a stretch at the bottom of the layout., otherwise perhaps you need to 
just set the vertical alignment to top on your top elements? Or perhaps you 
shouldn't be using Expanding at all on your top row?

Ross. 




More information about the Qt-interest-old mailing list