Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Resizing components in a Window
Qt 6.12 LTS is out! See what's new in the release blog

Resizing components in a Window

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 505 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.
  • D Offline
    D Offline
    Duyct
    wrote on last edited by
    #1

    I'm designing a GUI application. It looks normal on my first screen but when switching to the second screen all the components in it couldn't resize to the screen's resolution. I've looked for solution but still haven't got any. I use Qt and C++

    Here's the app on my first screen:
    Screenshot 2023-07-04 213139.png

    And here's the app on my second screen:
    Screenshot (60).png

    jsulmJ 1 Reply Last reply
    0
    • D Duyct

      I'm designing a GUI application. It looks normal on my first screen but when switching to the second screen all the components in it couldn't resize to the screen's resolution. I've looked for solution but still haven't got any. I use Qt and C++

      Here's the app on my first screen:
      Screenshot 2023-07-04 213139.png

      And here's the app on my second screen:
      Screenshot (60).png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Duyct Not sure what is wrong on the second screen? The font size?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      D 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Duyct Not sure what is wrong on the second screen? The font size?

        D Offline
        D Offline
        Duyct
        wrote on last edited by
        #3

        @jsulm all the components can't fit in the window in the second screen

        jsulmJ 1 Reply Last reply
        0
        • D Duyct

          @jsulm all the components can't fit in the window in the second screen

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Duyct said in Resizing components in a Window:

          all the components can't fit in the window

          Because the window is too small.
          Do you use layouts?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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
          • Unsolved