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

The visibility of the horizontal scrollbar should be accounted for when calculating the sizes of items

    XMLWordPrintable

Details

    Description

      The visibility of the horizontal scrollbar should be accounted for when calculating the sizes of items. For instance if the text needs to be elided after resizing the itemview to be smaller in width then it should not be using the original height if this was not the case, it should have a new height as a result.

      This is common if the height of the items is influenced by the fact that there are new lines in the text. Once the width is smaller than the length of the first line before the new line it causes it to be elided, but then the positioning of the items is not correct as a result.

      Attachments

        1. 5.11.3.png
          5.11.3.png
          4 kB
        2. 5.12.0.png
          5.12.0.png
          6 kB
        3. qtbug48710.zip
          1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              andysh Andy Shaw
              Votes:
              2 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes