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. How to maintain widget size ratios when resolution changes?
Forum Updated to NodeBB v4.3 + New Features

How to maintain widget size ratios when resolution changes?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 596 Views 1 Watching
  • 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.
  • ivanicyI Offline
    ivanicyI Offline
    ivanicy
    wrote on last edited by VRonin
    #1

    Hello.

    It is possible to make responsive interfaces with qt? I want to keep the aspect relation, making widgets smaller when the resolution decrees.

    Thank you very much.

    mrjjM 1 Reply Last reply
    0
    • ivanicyI ivanicy

      Hello.

      It is possible to make responsive interfaces with qt? I want to keep the aspect relation, making widgets smaller when the resolution decrees.

      Thank you very much.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @ivanicy
      Hi, yes if you use layouts then it will adjust to any resize.
      Also you can use other things, depending on your Qt version
      http://stackoverflow.com/questions/452333/how-to-maintain-widgets-aspect-ratio-in-qt

      1 Reply Last reply
      2

      • Login

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