[ListItem.SingleControl] Does not respect the default inner margins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-system-settings (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-system-settings-online-accounts (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-ui-toolkit (Ubuntu) |
Won't Fix
|
Medium
|
Zsombor Egri |
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.
}
}
}"
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?
Related branches
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Florian Boucault (fboucault) |
Changed in ubuntu-ui-toolkit (Ubuntu): | |
assignee: | nobody → Zsombor Egri (zsombi) |
importance: | Undecided → Medium |
status: | New → In Progress |
no longer affects: | ubuntu-ui-toolkit |
That screenshot show a list with different spacing, mpt said the correct one is 2 gu spaces horizontal and 1 gu vertical...