touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #34617
[Bug 1194844] Re: [ListItem.SingleControl] Does not respect the default inner margins
This will be handled by the new ListItemLayout component.
** Changed in: ubuntu-ui-toolkit
Assignee: Florian Boucault (fboucault) => (unassigned)
** Changed in: ubuntu-ui-toolkit
Status: Confirmed => In Progress
** Changed in: ubuntu-ui-toolkit
Assignee: (unassigned) => Zsombor Egri (zsombi)
** Branch linked: lp:~zsombi/ubuntu-ui-toolkit/100-listlayout
** Tags added: listitems
--
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 UI Toolkit:
In Progress
Status in “ubuntu-system-settings” package in Ubuntu:
Fix Released
Status in “ubuntu-system-settings-online-accounts” package in Ubuntu:
Fix Released
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-ui-toolkit/+bug/1194844/+subscriptions