Add Units.guRound[Up/Down](pixels)
Bug #1242575 reported by
Nick Dedekind
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UI Toolkit |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Add functions to Units to find closest/floor/ceil gu for a specified measurement (in pixels) and precision.
Related branches
lp:~nick-dedekind/ubuntu-ui-toolkit/round.floor.ceil-GridUnits
- Florian Boucault (community): Needs Fixing
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 217 lines (+174/-0)4 files modifiedcomponents.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)
Changed in ubuntu-ui-toolkit: | |
assignee: | nobody → Nick Dedekind (nick-dedekind) |
status: | New → In Progress |
Changed in ubuntu-ui-toolkit: | |
assignee: | Nick Dedekind (nick-dedekind) → nobody |
To post a comment you must log in.