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

Mac: wrong alignment of QPushButton when style sheet is used

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.7.1
    • None
    • macOS

      The alignment/position of a QPushButton is wrong when a style sheet is applied.

      Included a test case to reproduce

      Suggested workaround:
      button->setStyleSheet("QPushButton

      { margin-left: 6px; margin-right: 6px; margin-top: 4px; margin-bottom: 6px; border: 1px solid red; }

      ")

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

            mmutz Marc Mutz
            sanonymous Nokia Qt Support (Inactive)
            Votes:
            10 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes