Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

scale a window but keeping content size and location



  • Hi.
    All windows from my program are running with fixed size, problems appear when executing on different resolutions, on 1080p looks fine, but on lower resolution all the windows sets out of screen bounds, on higher resolutions they looks a bit small... So i think i need to use some sort of layouts... i'm looking for a way all my child widgets resize with their respective window.. What is the layout i need to use for this?.. i guess most of layouts will not resize my widgets but realocate them to fit window more than scale them..

    thanks


  • Lifetime Qt Champion

    Hi,

    Layout do not reallocate anything, they resize the widgets.


Log in to reply