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. table View resize scrollbar Error.
Forum Updated to NodeBB v4.3 + New Features

table View resize scrollbar Error.

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

    I have a TableView in the DockWidget.

    If you change the horizontal size of the DockWidget, you have set the second column of the TableView to grow. When the second column is increased, the tableView signal called sectionResized is called. The slot for this signal will also increase the vertical size of each row by the ratio of the column width.

    The vertical scrollbar will appear at any moment. An infinite loop is caught at the moment when it disappears or comes up. I want the scrollbar to come up when I need it and disappear when I do not need it. What should I do?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please show the code you are using. Your setup is not completely clear.

      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
      1

      • Login

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