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. The table overlaps with other layout
Forum Updated to NodeBB v4.3 + New Features

The table overlaps with other layout

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 3 Posters 626 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.
  • E Offline
    E Offline
    Eric Chang
    wrote on last edited by
    #1

    It was normal in PySide2, and looks quirky in PySide6.

    How do I fix it?

    with_content.PNG normal.PNG

    Christian EhrlicherC 1 Reply Last reply
    0
    • E Eric Chang

      It was normal in PySide2, and looks quirky in PySide6.

      How do I fix it?

      with_content.PNG normal.PNG

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You forgot to add a layout somewhere in your widget tree.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      E 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        You forgot to add a layout somewhere in your widget tree.

        E Offline
        E Offline
        Eric Chang
        wrote on last edited by
        #3

        @Christian-Ehrlicher I'm new to PySide. This is my ui file, would you like to help me refine this ui?

        Gist: PySide2 UI quirky in PySide6

        JonBJ 1 Reply Last reply
        0
        • E Eric Chang

          @Christian-Ehrlicher I'm new to PySide. This is my ui file, would you like to help me refine this ui?

          Gist: PySide2 UI quirky in PySide6

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Eric-Chang
          Just load it into Qt Designer and look at the Object Tree pane. Any widget which has a red "no entry" sign on it indiactes it is lacking a layout, and one should be added (right click on it, pick Layout > ).

          E 1 Reply Last reply
          0
          • JonBJ JonB

            @Eric-Chang
            Just load it into Qt Designer and look at the Object Tree pane. Any widget which has a red "no entry" sign on it indiactes it is lacking a layout, and one should be added (right click on it, pick Layout > ).

            E Offline
            E Offline
            Eric Chang
            wrote on last edited by
            #5

            @JonB It has a vertical layout.

            has_layout.PNG

            JonBJ 1 Reply Last reply
            0
            • E Eric Chang

              @JonB It has a vertical layout.

              has_layout.PNG

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @Eric-Chang
              Have you viewed it from Designer via Tools > Form Editor > Preview...? Looks fine to me here. I only have Qt5 (whatever the issue it will be Qt not PySide).

              You do not explain, but from your first screenshots are you showing that it looks fine in run/preview but not just when designing? If so then it's a Qt designer issue, which doesn't surprise me if you are using a recent version?

              E 1 Reply Last reply
              0
              • JonBJ JonB

                @Eric-Chang
                Have you viewed it from Designer via Tools > Form Editor > Preview...? Looks fine to me here. I only have Qt5 (whatever the issue it will be Qt not PySide).

                You do not explain, but from your first screenshots are you showing that it looks fine in run/preview but not just when designing? If so then it's a Qt designer issue, which doesn't surprise me if you are using a recent version?

                E Offline
                E Offline
                Eric Chang
                wrote on last edited by
                #7

                @JonB Those two pictures shows app breaks when maximizing window, and keeps normal when restoring window.

                JonBJ 1 Reply Last reply
                0
                • E Eric Chang

                  @JonB Those two pictures shows app breaks when maximizing window, and keeps normal when restoring window.

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by JonB
                  #8

                  @Eric-Chang
                  Works fine for me in both cases.

                  Since you said it worked fine in PySide2/Qt5 that's hardly surprising. So I guess it's a Qt6 issue...?

                  E 1 Reply Last reply
                  0
                  • JonBJ JonB

                    @Eric-Chang
                    Works fine for me in both cases.

                    Since you said it worked fine in PySide2/Qt5 that's hardly surprising. So I guess it's a Qt6 issue...?

                    E Offline
                    E Offline
                    Eric Chang
                    wrote on last edited by
                    #9

                    @JonB It's normal in larger screen.
                    It breaks in my laptop screen which resolution is 1920x1080.

                    1 Reply Last reply
                    0
                    • E Offline
                      E Offline
                      Eric Chang
                      wrote on last edited by
                      #10

                      Pin, anybody help?

                      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