← Back to team overview

touch-packages team mailing list archive

[Bug 1197058] Re: [SDK ListItems] should allow controls on the left

 

** Summary changed:

- [ListItems] should allow controls on the left
+ [SDK ListItems] should allow controls on the left

** Changed in: ubuntu-ux
     Assignee: Giorgio Venturi (giorgio-venturi) => Olga Kemmet (olga-kemmet)

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

Title:
  [SDK ListItems] should allow controls on the left

Status in Ubuntu UX bugs:
  Triaged
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

Bug description:
  Looking to this system settings design:
  https://wiki.ubuntu.com/Sound?action=AttachFile&do=get&target=phone-settings-sound.png

  The list have list entries with that format
  |  [check]    <Label>  |

  
  I've used a custom item for those doing that:

  'ListItem.Base {
      property string textEntry: "";
      property bool checkStatus: false;

      Row {
          anchors.top: parent.top
          anchors.bottom: parent.bottom
          spacing: units.gu(2)

          CheckBox {
              anchors.verticalCenter: parent.verticalCenter
              checked: checkStatus
          }
          Label {
              anchors.verticalCenter: parent.verticalCenter
              text: textEntry
          }
      }
  }"

  
  But:
  - that's not standard
  - clicking on the label doesn't tweak the checkbox as it does for other controls (I can hack that easily if needed though)
  - the UI might not be consistent with what is used in other place

  This bug might also be a place to discuss if those items are fine to
  use or non coherent with our use of the toolkit in other places...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1197058/+subscriptions