From 7f0af55d1d5d6987a36ac4fdbe520759c9eb1e4d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 17 Jan 2022 17:59:45 +0100 Subject: [PATCH] Fix top and bottom margins These were undefined properties otherwise. Contributes to issue CURA-8686. --- resources/qml/Widgets/ScrollableTextArea.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Widgets/ScrollableTextArea.qml b/resources/qml/Widgets/ScrollableTextArea.qml index b9ccc4271b..adf81628eb 100644 --- a/resources/qml/Widgets/ScrollableTextArea.qml +++ b/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 } }