ubuntu-sdk-bugs team mailing list archive
-
ubuntu-sdk-bugs team
-
Mailing list archive
-
Message #06420
[Bug 1579045] [NEW] PageHeaderStyle.disabledForeground color doesn't affect title or subtitle
Public bug reported:
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.
** Affects: ubuntu-ux
Importance: Undecided
Status: New
** Affects: ubuntu-ui-toolkit (Ubuntu)
Importance: Undecided
Assignee: Tim Peeters (tpeeters)
Status: New
** Also affects: ubuntu-ux
Importance: Undecided
Status: New
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Assignee: (unassigned) => Tim Peeters (tpeeters)
--
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1579045
Title:
PageHeaderStyle.disabledForeground color doesn't affect title or
subtitle
Status in Ubuntu UX:
New
Status in ubuntu-ui-toolkit package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1579045/+subscriptions