From fd13ee10e3c24489166880398610af69c6cac648 Mon Sep 17 00:00:00 2001 From: HellAholic Date: Fri, 21 Mar 2025 23:01:16 +0100 Subject: [PATCH] Optional changes - Add padding to the textArea Adds 15 padding to the right side of the what's new text items (text will not go under scrollbar) Adds 15 padding to left and right of the changelog --- resources/qml/WelcomePages/ChangelogContent.qml | 2 ++ resources/qml/WelcomePages/WhatsNewContent.qml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/qml/WelcomePages/ChangelogContent.qml b/resources/qml/WelcomePages/ChangelogContent.qml index 7c3b1adfc3..a8e70463e9 100644 --- a/resources/qml/WelcomePages/ChangelogContent.qml +++ b/resources/qml/WelcomePages/ChangelogContent.qml @@ -43,6 +43,8 @@ Item textArea.readOnly: true textArea.font: UM.Theme.getFont("default") textArea.onLinkActivated: Qt.openUrlExternally(link) + textArea.rightPadding: 15 + textArea.leftPadding: 15 } Cura.PrimaryButton diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index 6406d65756..d4b1c8e04b 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -114,7 +114,7 @@ Item textArea.font: UM.Theme.getFont("default") textArea.onLinkActivated: Qt.openUrlExternally(link) textArea.leftPadding: 0 - textArea.rightPadding: 0 + textArea.rightPadding: 15 } } }