Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-6802

The scrollbar for a table widget does not immediately reflect a change in the width of the left hand column of a two (or greater) column table, nor does it allow the user scroll the table leftwards to see the rightmost part of the widget.wi

    XMLWordPrintable

Details

    Description

      Summary
      The scrollbar for a table widget does not immediately reflect a change in the width of the left hand column of a two (or greater) column table, nor does it allow the user scroll the table leftwards to see the rightmost part of the widget. It does do both things after the scrollbar has been used to scroll left first.

      To reproduce the bug
      (1) create a two column table in a dialog using Qt designer
      (2) choose "Tools/Form editor/Preview..." in Qt designer
      (3) resize the left hand column to be bigger by moving the boundary between the first and second column so that a horizontal scrollbar appears at the bottom of the table widget
      (4) scroll the widget right as far as it will go
      (5) resize the left hand column again, as in step (2) above

      At step (5), however wide the left hand column is made, the scrollbar remains unchanged. It cannot be used to scroll the table widget right, even though there is now part of the table out of sight at the right hand end of the dialog. The scrollbar can only be used to scroll right if it is first used to scroll left.

      Attached are pictures of my example dialog after each of steps (2) to (5) above.

      Attachments

        1. Table Scrollbar bug.zip
          182 kB
        2. main.cpp
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            cass castello Cass Castello
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes