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

StyleSheet for QPushButton's icon and label

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Widgets: Style Sheets
    • 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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            volkanorhan Volkan Orhan
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes