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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      0
      • SGaistS SGaist

        Hi,

        Did you use layouts to build your application ?

        J Offline
        J Offline
        JesusM97
        wrote on last edited by
        #3

        @SGaist Yes. I use layouts in all the windows

        SGaistS 1 Reply Last reply
        0
        • J JesusM97

          @SGaist Yes. I use layouts in all the windows

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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

          • Login

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