touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #58712
[Bug 1194844] Re: [ListItem.SingleControl] Does not respect the default inner margins
** Branch unlinked: lp:~zsombi/ubuntu-ui-toolkit/100-listlayout
--
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:
In Progress
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