From 14c11190fdb19d6280c8faecd48a1fa2a5ba0e63 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Mon, 12 Apr 2021 12:38:36 +0200 Subject: [PATCH] Minor UI fixes in the What's new pages * Add a top margin between the image and the text * Change the text font to default * Fix line break in the html page CURA-8154 --- resources/qml/WelcomePages/WhatsNewContent.qml | 3 ++- resources/texts/whats_new/1.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index 1d90f7fb70..7b38c6f85a 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -98,6 +98,7 @@ Item anchors { top: subpageImage.bottom + topMargin: UM.Theme.getSize("default_margin").height bottom: parent.bottom bottomMargin: UM.Theme.getSize("thick_margin").height left: subpageImage.left @@ -113,7 +114,7 @@ Item textArea.text: manager.getSubpageText(index) textArea.textFormat: Text.RichText textArea.readOnly: true - textArea.font: UM.Theme.getFont("medium") + textArea.font: UM.Theme.getFont("default") textArea.onLinkActivated: Qt.openUrlExternally(link) textArea.leftPadding: 0 textArea.rightPadding: 0 diff --git a/resources/texts/whats_new/1.html b/resources/texts/whats_new/1.html index 4c542e7e16..8b56f46928 100644 --- a/resources/texts/whats_new/1.html +++ b/resources/texts/whats_new/1.html @@ -1,3 +1,3 @@

Better visual representation

-

The Z-seam is now clearly indicated in Preview mode. This ensures that you will know whether the seam will be sufficiently hidden in the end product.
+

The Z-seam is now clearly indicated in Preview mode. This ensures that you will know whether the seam will be sufficiently hidden in the end product.
Thanks to BasF0 for contributing to this feature.