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

Style for QToolButton autoRaise on macOS

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Component/s: GUI: Look'n'Feel
    • Labels:
      None
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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