on xenial help sign in
Use units.dp instead of hardcoding 12
commit8b8c85a2b35ecbb91f293444d581586937625410 authorMichael Terry <michael.terry@canonical.com> dateFri 27 Sep 2013, 19:33 (13 years ago) parentf518505
1 file changed+2−2
Components/EdgeDemoOverlay.qml+2−2
Components/EdgeDemoOverlay.qml+2−2
@@ -153,8 +153,8 @@ Showable {
153153 Icon {
154154 anchors.left: parent.right
155155 anchors.verticalCenter: parent.verticalCenter
156− height: 12
157− width: 12
156+ height: units.dp(12)
157+ width: units.dp(12)
158158 name: "chevron"
159159 color: UbuntuColors.orange
160160 }