Important: Please read the Qt Code of Conduct -

table View resize scrollbar Error.

  • 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?

  • Lifetime Qt Champion


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

Log in to reply