> That is not true. Beware that the disabled state is not for the background
> mainly, but for the text color. And the icon color is enabled sensible,
> meaning it uses different colors for enabled or disabled state.
That was referring to the background. There is only one background color
per panel, not one per action.
What Design wants, from what I understood, is an easy way for developers to
specify that an action is destructive/neutral/positive, something like that.
That way, the developer specifies the kind of action, and the SDK takes care of
using the right colour, following the guidelines provided by the Design team.
It could be a new property in Action, or it could be a delegate
template, such as ActionDelegate { property Enum type:
destructive/neutral/positive ... etc etc ... }
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1603452
Title:
[SDK] Change leading action background to red and icon to white
Status in Ubuntu UI Toolkit:
New
Status in Ubuntu UX:
In Progress
Status in ubuntu-ui-toolkit package in Ubuntu:
New
Bug description:
We'd like to change the leading action background from light grey back
to red. And switch the icon from red to white. However, I have spoken
to Andrea and the problem is regarding when a leading action is
disabled. Outlined as follows:
the default action delegate is just an Item { Icon {} } so it has no
background, see: http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-
ui-
toolkit/staging/view/2033/src/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml#L120
Moreover, the whole ListItemActions panel uses only one colour for the
background http://bazaar.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-
toolkit/staging/view/2033/src/Ubuntu/Components/Themes/Ambiance/1.3/ListItemStyle.qml#L51
Therefore if there are several actions in the leading action slot, all
will be disabled. Can we change the API so that there is flexibility
when choosing one action to be disabled rather than all of them?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1603452/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp