Merge lp:~nick-dedekind/ubuntu-ui-toolkit/round.floor.ceil-GridUnits into lp:ubuntu-ui-toolkit
Proposed by
Nick Dedekind
Status: | Rejected | ||||
---|---|---|---|---|---|
Rejected by: | Tim Peeters | ||||
Proposed branch: | lp:~nick-dedekind/ubuntu-ui-toolkit/round.floor.ceil-GridUnits | ||||
Merge into: | lp:ubuntu-ui-toolkit | ||||
Diff against target: |
217 lines (+174/-0) 4 files modified
components.api (+21/-0) modules/Ubuntu/Components/plugin/ucunits.cpp (+51/-0) modules/Ubuntu/Components/plugin/ucunits.h (+5/-0) tests/unit/tst_units/tst_units.cpp (+97/-0) |
||||
To merge this branch: | bzr merge lp:~nick-dedekind/ubuntu-ui-toolkit/round.floor.ceil-GridUnits | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Florian Boucault (community) | Needs Fixing | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+195796@code.launchpad.net |
Commit message
Added [floor/
Description of the change
Added [floor/
This is to enable us to easily align graphical items to the gu grid.
Use case:
Indicator panel items can be variable width (fixed height with aspect calculated width + variable length label) but should be aligned to the gu grid.
To post a comment you must log in.
Unmerged revisions
- 840. By Nick Dedekind
-
Added [floor/
ceil/round] GridUnit for finding gu boundaries.
Why do we need this? What is the use case? What is the problem that we are trying to solve?