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

Style for QToolButton autoRaise on macOS

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P4: Low
    • None
    • 5.15.0
    • GUI: Look'n'Feel
    • None
    • macOS

    Description

      I would love to see autoRaise behavior implemented for macOS QToolButton.

      Currently, there is inconsistency between platforms, even the documentation mentioning "This property is currently ignored on macOS when using QMacStyle".

      A workaround is described here on StackOverflow: manually styling the button.

      I have attached samples of how QToolButton looks compared to QPushButton.

      Attachments

        1. push.png
          push.png
          9 kB
        2. tool.png
          tool.png
          9 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
            danuker Dan H
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes