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

StyleSheet for QPushButton's icon and label

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Widgets: Style Sheets
    • Labels:
      None

      Description

      It would be better if QPushButton's icon and label components be styleable independently from QPushButton, like QPushButton::icon and QPushButton::label. For example, I want to move the icon on the top-right corner of the button, but it is not possible using icon feature of QPushButton.

      There are some workarounds like subclassing QPushButton but it would be better to support stylesheets of label and icon components of QPushButton independently.

        Attachments

        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:
            volkanorhan Volkan Orhan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes