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

Reg->Qt 6: QToolButton with style sheet : There are two Tool button arrows rendered (all styles)

XMLWordPrintable

    • Linux/X11, Windows
    • 77de4a9bb4e15d19bd3f87f03f4b2d06a68277b5 (qt/qtbase/dev) d7fb3b27401be016b345672669a9bb2ab2a51607 (qt/qtbase/6.2)

      if you have a QToolButton with arrow and toolButtonStyle set to ToolButtonTexBesideIcon and set a stylesheet on the button, there will be two buttons rendered - one to the left and one at the centre of the button.

      This is reproducible with Qt6 designer. Qt5 works good.

      Attached Ui file shows this. Problem is only when in stylesheet border is used.

      border: none
      

        1. PMC_JiraIntegration.ui
          4 kB
        2. qtbug98286.jpg
          qtbug98286.jpg
          15 kB
        3. qtbug98286.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            irfan.omair@digia.com Irfan Omair
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes