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

Improper spacing in item views with custom indicator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.3, 6.4, 6.5
    • Widgets: Style Sheets
    • None
    • Windows

    Description

      When using a custom indicator in item views, a weird spacing issue occur :

      • When element is hovered / selected, extra space is added between indicator and content.
      • When element is not hovered, space between indicator and content is too small - this bug is only visible starting from 6.3.1 because in 6.3.0 the indicator is not properly stylized.

      Qt 6.3.2 / 6.4.3 / 6.5.1 outputs

      Here is an output from a non-minimal application that also shows issue with icons (right pane) that are set via `data()` using the decoration role

      Attachments

        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
            holt59 Mikaël Capelle
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes