~bpierre/ubuntu-ui-toolkit/newbutton

Viewing all changes in revision 1882.

  • Committer: Pierre Bertet
  • Date: 2016-03-31 08:52:03 UTC
  • Revision ID: pierre.bertet@canonical.com-20160331085203-py26d4zufdyvmwvd
Button: remove emphasis, move Positive and Negative to types

The outline mode of the button do not include the positive and negative
emphases anymore. Therefore, the positive and negative emphases have been moved
to the type property, since they (outline vs. positive / negative) are now
mutually exclusive.

A button can now have the following types:

- Button.Normal (default)
- Button.Outline
- Button.Positive
- Button.Negative

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: