Browse Source

Make the spacing between the orientation controls be dependent on the
theme.

Contributes to CURA-5772.

Diego Prado Gesto 6 years ago
parent
commit
17732b1169
1 changed files with 2 additions and 1 deletions
  1. 2 1
      resources/qml/ViewOrientationControls.qml

+ 2 - 1
resources/qml/ViewOrientationControls.qml

@@ -12,9 +12,10 @@ Row
 {
     id: viewOrientationControl
 
-    spacing: 2 * screenScaleFactor
+    spacing: UM.Theme.getSize("narrow_margin").width
     height: childrenRect.height
     width: childrenRect.width
+
     // #1 3d view
     Button
     {