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

QTableView scroll

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 4 Posters 1.0k 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.
  • A Offline
    A Offline
    AlexandruToma
    wrote on last edited by
    #1

    Hello, I have a table view with one row, when I insert large text doesn't show up a scroll bar even if it is enable and print some dots. Can someone give me an advice, please.Screenshot (11).png Screenshot (10).png

    Thank YouT 1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      You have to adjust the cell's height.

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AlexandruToma
        wrote on last edited by
        #3

        @Christian-Ehrlicher said in QTableView scroll:

        You have to adjust the cell's height.
        After changed height, it changed text position. I still don't see all text from that cell. It doesn't exist a scroll bar for cell ?
        Screenshot (12).png

        1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Please create a minimal, compilable example. Does it work when you've two rows?

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

          A 1 Reply Last reply
          0
          • Christian EhrlicherC Christian Ehrlicher

            Please create a minimal, compilable example. Does it work when you've two rows?

            A Offline
            A Offline
            AlexandruToma
            wrote on last edited by
            #5

            @Christian-Ehrlicher said in QTableView scroll:
            Does it work when you've two rows?

            No, it's not. I have other tables view in other windows working properly. This one is in central widget and have the same properties like the others... I don't get it
            Screenshot (13).png

            JoeCFDJ 1 Reply Last reply
            0
            • A AlexandruToma

              @Christian-Ehrlicher said in QTableView scroll:
              Does it work when you've two rows?

              No, it's not. I have other tables view in other windows working properly. This one is in central widget and have the same properties like the others... I don't get it
              Screenshot (13).png

              JoeCFDJ Offline
              JoeCFDJ Offline
              JoeCFD
              wrote on last edited by
              #6

              @AlexandruToma open the compiled ui files of these tree view classes and do a comparison to see what the differences are.

              1 Reply Last reply
              0
              • A AlexandruToma

                Hello, I have a table view with one row, when I insert large text doesn't show up a scroll bar even if it is enable and print some dots. Can someone give me an advice, please.Screenshot (11).png Screenshot (10).png

                Thank YouT Offline
                Thank YouT Offline
                Thank You
                wrote on last edited by
                #7

                @AlexandruToma
                9aba7091-b838-4a3d-8252-7e90e24dbd8d-image.png
                I guess this one can help
                Uncheck it

                Let's make QT free or It will go forever

                TRUE AND FALSE <3

                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