← Back to team overview

touch-packages team mailing list archive

[Bug 1426471] Re: Guideline/documentation has no layout recommendation for buttons in dialogs

 

------------------------------

Desired resolution:


*Will be added to the guide in the new designs*


http://design.ubuntu.com/apps/getting-started/design-vision

When buttons are stacked vertically we recommend that negative actions
should be displayed at the bottom, and positive at the top.


http://design.ubuntu.com/apps/building-blocks/dialog

We will give best practises in this section for different layouts, but
in general the same rule applies.


https://developer.ubuntu.com/api/qml/sdk-14.04/Ubuntu.Components.Popups.Dialog/

Will hand this over to someone who can put another example in there for
a horizontal layout.





** Changed in: ubuntu-brand-guidelines
       Status: In Progress => Fix Committed

-- 
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/1426471

Title:
  Guideline/documentation has no layout recommendation for buttons in
  dialogs

Status in Ubuntu Brand Guidelines website:
  Fix Committed
Status in Ubuntu UX:
  In Progress
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  Reading the current documentation there is no real guidance on how to
  layout buttons in Dialogs.

  The "design vision" section 4. [1] mentions "Positive actions always
  go on the right, negative on the left", which suggests an horizontal
  alignment for the buttons, but the building blocks section [2] doesn't
  mention the topic and the uitk defaults to stacking things vertically,
  including the API example [3], while the uitk-gallery example program
  does show an horizontal layout by stacking its button in a row (if
  that's recommended way, the API example should perhaps reflect that?)

  Those lacks lead our applications to be inconsistant, e.g the delete
  confirmations actions in gallery or camera have there delete/don't
  button vertically stacked, is that the correct way?

  http://design.ubuntu.com/apps/getting-started/design-vision
  http://design.ubuntu.com/apps/building-blocks/dialog
  https://developer.ubuntu.com/api/qml/sdk-14.04/Ubuntu.Components.Popups.Dialog/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-brand-guidelines/+bug/1426471/+subscriptions


References