Doc should use units.gu for size, not pixel
Bug #1300419 reported by
Riccardo Padovani
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu API Website |
New
|
Undecided
|
Unassigned |
Bug Description
E.G http://
Column {
spacing: 2
Rectangle { color: "red"; width: 50; height: 50 }
Rectangle { color: "green"; width: 20; height: 50 }
Rectangle { color: "blue"; width: 50; height: 20 }
}
should be
Column {
spacing: units.gu(1)
Rectangle { color: "red"; width: units.gu(5); height: units.gu(5) }
Rectangle { color: "green"; width: units.gu(2); height: units.gu(5); }
Rectangle { color: "blue"; width: units.gu(5); units.gu(2); }
}
To post a comment you must log in.