Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. scale a window but keeping content size and location
Forum Update on Monday, May 27th 2025

scale a window but keeping content size and location

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 159 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    U7Development
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Layout do not reallocate anything, they resize the widgets.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved