Browse Source

Use themed values for margins

Lipu Fei 6 years ago
parent
commit
85b28a0c90
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/qml/WelcomePages/WhatsNewContent.qml

+ 2 - 2
resources/qml/WelcomePages/WhatsNewContent.qml

@@ -38,12 +38,12 @@ Item
         width: (parent.width * 3 / 4) | 0
 
         border.color: "#dfdfdf"
-        border.width: 1
+        border.width: UM.Theme.getSize("default_lining").width
 
         ScrollView
         {
             anchors.fill: parent
-            anchors.margins: 1
+            anchors.margins: UM.Theme.getSize("default_lining").width
 
             ScrollBar.horizontal.policy: ScrollBar.AlwaysOff