Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Pyside6 application on different screen sizes
Forum Updated to NodeBB v4.3 + New Features

Pyside6 application on different screen sizes

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 2 Posters 1.3k 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.
  • J Offline
    J Offline
    JesusM97
    wrote on 8 Sept 2023, 16:34 last edited by
    #1

    Good afternoon, I have been designing an application using Pyside6 on a computer with a 24'' monitor. The problem is that now, when I pick up my 14'' laptop some windows of the application do not fit whole (lengthwise) on the screen and I cannot interact with part of those windows. I can't resize the windows either because they are just the right size to fit all the widgets in the window. Is there any way to set the size of the widgets relative to the total screen size? Maybe this way I can have an interface that adapts to various sizes.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 8 Sept 2023, 17:50 last edited by
      #2

      Hi,

      Did you use layouts to build your application ?

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

      J 1 Reply Last reply 11 Sept 2023, 16:09
      0
      • S SGaist
        8 Sept 2023, 17:50

        Hi,

        Did you use layouts to build your application ?

        J Offline
        J Offline
        JesusM97
        wrote on 11 Sept 2023, 16:09 last edited by
        #3

        @SGaist Yes. I use layouts in all the windows

        S 1 Reply Last reply 11 Sept 2023, 17:42
        0
        • J JesusM97
          11 Sept 2023, 16:09

          @SGaist Yes. I use layouts in all the windows

          S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 11 Sept 2023, 17:42 last edited by
          #4

          How many widgets do you have there ?
          Layouts usually resize their inner widgets down to a minimum when you resize the containing widget.

          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
          0

          1/4

          8 Sept 2023, 16:34

          • Login

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