PageHeaderStyle.disabledForeground color doesn't affect title or subtitle

Bug #1579045 reported by Cris Dywan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UX
New
Undecided
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I don't know if that's a bug so much as expected behavior - in the latter case the naming is certainly misleading or unclear at least.

    header: PageHeader {
        id: pageHeader
        title: i18n.tr("Hello World")
        subtitle: i18n.tr('Lorem ipsum dolor sit amet')
        enabled: false

        StyleHints {
            // The color of disabled actions
            disabledForegroundColor: UbuntuColors.red
        }

        trailingActionBar.actions: [
            Action {
                iconName: 'list-add'
            }
        ]
    }

That code snippet causes the action in the header to be red, but none of the labels.

Cris Dywan (kalikiana)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: nobody → Tim Peeters (tpeeters)
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit (Ubuntu):
assignee: Tim Peeters (tpeeters) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.