Browse Source

Fix top and bottom margins

These were undefined properties otherwise.

Contributes to issue CURA-8686.
Ghostkeeper 3 years ago
parent
commit
7f0af55d1d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      resources/qml/Widgets/ScrollableTextArea.qml

+ 2 - 2
resources/qml/Widgets/ScrollableTextArea.qml

@@ -28,9 +28,9 @@ ScrollView
             right: parent.right
             rightMargin: parent.background.border.width
             top: parent.top
-            topMargin: rightMargin
+            topMargin: anchors.rightMargin
             bottom: parent.bottom
-            bottomMargin: rightMargin
+            bottomMargin: anchors.rightMargin
         }
     }