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

QPushButton style changes in horiz layouts > 2 items

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.5.1
    • None
    • OSX 10.11.5
    • macOS

    Description

      If you have a QPushButton with the text set to a minus sign, in a horizontal layout with 3 or more items; the styling of the QPushButton changes to a borderless version.

      This behaviour occurs in Designer and at run time.

      I attach images of a layout with 2 items and a layout with 3 items to show the difference. I also attach an image of a QPushButton without a minus sign to show it renders OK.

      I tried to replicate this bug in Linux but did not encounter it.

      Attachments

        1. bug-after.png
          bug-after.png
          10 kB
        2. bug-before.png
          bug-before.png
          10 kB
        3. bug-not-minus.png
          bug-not-minus.png
          11 kB
        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
            lyndon Lyndon Hill
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes