← Back to team overview

touch-packages team mailing list archive

[Bug 1194844] Re: [ListItem.SingleControl] Does not respect the default inner margins

 

We decided that we will not make any common layouts for the ListItems.
Every application will have to create their layouts or use some common
components module to define layouts if needed, depending on the
performance requirements.

** Branch unlinked: lp:~zsombi/ubuntu-ui-toolkit/90-listitemlayout

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: In Progress => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-system-settings-
online-accounts in Ubuntu.
https://bugs.launchpad.net/bugs/1194844

Title:
  [ListItem.SingleControl] Does not respect the default inner margins

Status in ubuntu-system-settings package in Ubuntu:
  Fix Released
Status in ubuntu-system-settings-online-accounts package in Ubuntu:
  Fix Released
Status in ubuntu-ui-toolkit package in Ubuntu:
  Won't Fix

Bug description:
  Some of system settings design use lists with buttons in the middle,
  those should use the same spacing as other list items.

  The margins for ListItem.Standard text seems to be units.gu(2), which
  leads to code like that one to get the right result:

  "        ListItem.SingleControl {
              control: Button {
                  anchors {
                      leftMargin: units.gu(2)
                      rightMargin: units.gu(2)
                      topMargin: units.gu(1)
                      bottomMargin: units.gu(1)
                      fill: parent
                  }
                  text: "Some button to click"
              }
          }"

  It's a bit tedious to have to specify all the margins like that, it
  also feels wrong because it would break if the toolkit change ... is
  there a better way to do that?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1194844/+subscriptions