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. Widget resize
Forum Updated to NodeBB v4.3 + New Features

Widget resize

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 5 Posters 483 Views 3 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.
  • S Offline
    S Offline
    satyanarayana143
    wrote on last edited by
    #1

    Hi friends,

    I am building qt Application in my system ui is looking good. With high resolution it is looking very small how to resize widgets according to screen resolution in qt.

    Chris KawaC 1 Reply Last reply
    0
    • S satyanarayana143

      Hi friends,

      I am building qt Application in my system ui is looking good. With high resolution it is looking very small how to resize widgets according to screen resolution in qt.

      Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Use layouts to position your widgets and they will resize automatically.

      1 Reply Last reply
      2
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        The OP may be talking about the application looking small when used on a Windows High DPI display. The options depend a bit what version of Qt and Windows.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          satyanarayana143
          wrote on last edited by satyanarayana143
          #4

          application looking small when used on a Windows High DPI display using

          windows 10 64bit
          Qt5.15.1

          1 Reply Last reply
          0
          • ABDUA Offline
            ABDUA Offline
            ABDU
            wrote on last edited by
            #5

            Hello, isn't that what you're looking for? High DPI Displays.

            1 Reply Last reply
            1
            • S Offline
              S Offline
              SimonSchroeder
              wrote on last edited by
              #6

              @satyanarayana143 Do you use more than one display in your setup? Maybe one being HighDPI and the other being a regular display? Or are you having trouble with just a single display (which is HighDPI) connected? Are you planning on supporting multi-monitor setup with different resolution scaling? The solution to your problem depends on what you are trying to achieve (supporting different scalings on multiple displays is quite involved and simpler solutions can be used if this is not your goal).

              1 Reply Last reply
              0

              • Login

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