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

Add a property for the text colour of AbstractButton

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.11.1
    • Quick: Controls 2
    • None

    Description

      Changing the colour of text in an abstract button is common but in Qt Quick Controls 2 it's extremely difficult. One needs to restyle the button instead of setting a simple value. This either forces using a private API in the form of IconLabel or essentially rewriting the entire component, especially if it has an icon as well. Button, CheckBox, DelayButton, ItemDelegate, MenuBarItem, MenuItem, RadioButton, Switch, and TabButton are affected as they all derive from AbstractButton.

      Attachments

        Issue Links

          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
              ddobrev Dimitar Dobrev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes