diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 067024a7b5..abced93100 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -863,6 +863,8 @@ UM.MainWindow { id: whatsNewDialog title: catalog.i18nc("@title:window", "What's New") + minimumWidth: UM.Theme.getSize("welcome_wizard_window").width + minimumHeight: UM.Theme.getSize("welcome_wizard_window").height model: CuraApplication.getWhatsNewPagesModel() progressBarVisible: false visible: false diff --git a/resources/qml/WelcomePages/ChangelogContent.qml b/resources/qml/WelcomePages/ChangelogContent.qml index 9e290dcf54..d106f94c04 100644 --- a/resources/qml/WelcomePages/ChangelogContent.qml +++ b/resources/qml/WelcomePages/ChangelogContent.qml @@ -44,7 +44,7 @@ Item textArea.textFormat: Text.RichText textArea.wrapMode: Text.WordWrap textArea.readOnly: true - textArea.font: UM.Theme.getFont("medium") + textArea.font: UM.Theme.getFont("default") textArea.onLinkActivated: Qt.openUrlExternally(link) } diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index 4a3afe66c1..7b38c6f85a 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -31,23 +31,16 @@ Item renderType: Text.NativeRendering } - Item - { - id: topSpacer - anchors.top: titleLabel.bottom - height: UM.Theme.getSize("default_margin").height - width: UM.Theme.getSize("default_margin").width - } - Rectangle { anchors { - top: topSpacer.bottom + top: titleLabel.bottom + topMargin: UM.Theme.getSize("default_margin").width bottom: whatsNewDots.top + bottomMargin: UM.Theme.getSize("narrow_margin").width left: parent.left right: parent.right - margins: UM.Theme.getSize("default_margin").width * 2 } color: UM.Theme.getColor("viewport_overlay") @@ -59,7 +52,6 @@ Item anchors { top: parent.top - topMargin: UM.Theme.getSize("default_margin").width horizontalCenter: parent.horizontalCenter } height: parent.height @@ -69,12 +61,6 @@ Item Repeater { - anchors - { - top: parent.top - topMargin: UM.Theme.getSize("default_margin").width / 2 - horizontalCenter: parent.horizontalCenter - } model: manager.subpageCount @@ -82,6 +68,8 @@ Item { Layout.alignment: Qt.AlignHCenter color: UM.Theme.getColor("viewport_overlay") + width: whatsNewViewport.width + height: whatsNewViewport.height Image { @@ -89,12 +77,15 @@ Item anchors { - horizontalCenter: parent.horizontalCenter top: parent.top - topMargin: UM.Theme.getSize("default_margin").width + topMargin: UM.Theme.getSize("thick_margin").width + left: parent.left + leftMargin: UM.Theme.getSize("thick_margin").width + right: parent.right + rightMargin: UM.Theme.getSize("thick_margin").width } - width: Math.round(parent.width - (UM.Theme.getSize("default_margin").width * 2)) - height: Math.round((parent.height - UM.Theme.getSize("default_margin").height) * 0.75) + width: sourceSize.width + sourceSize.width: Math.round(parent.width - (UM.Theme.getSize("thick_margin").height * 2)) fillMode: Image.PreserveAspectFit source: manager.getSubpageImageSource(index) @@ -107,10 +98,12 @@ Item anchors { top: subpageImage.bottom + topMargin: UM.Theme.getSize("default_margin").height bottom: parent.bottom - horizontalCenter: parent.horizontalCenter + bottomMargin: UM.Theme.getSize("thick_margin").height + left: subpageImage.left + right: subpageImage.right } - width: Math.round(parent.width - (UM.Theme.getSize("default_margin").width * 2)) ScrollBar.horizontal.policy: ScrollBar.AlwaysOff @@ -121,8 +114,10 @@ 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 } } } @@ -139,7 +134,8 @@ Item anchors { - bottom: bottomSpacer.top + bottom: whatsNewNextButton.top + bottomMargin: UM.Theme.getSize("narrow_margin").height horizontalCenter: parent.horizontalCenter } diff --git a/resources/qml/WelcomePages/WizardPanel.qml b/resources/qml/WelcomePages/WizardPanel.qml index db4b66d18b..99492d4862 100644 --- a/resources/qml/WelcomePages/WizardPanel.qml +++ b/resources/qml/WelcomePages/WizardPanel.qml @@ -53,7 +53,7 @@ Item anchors.left: parent.left anchors.right: parent.right - height: UM.Theme.getSize("progressbar").height + height: visible ? UM.Theme.getSize("progressbar").height : 0 value: base.progressValue } @@ -64,7 +64,6 @@ Item anchors { margins: UM.Theme.getSize("wide_margin").width - bottomMargin: UM.Theme.getSize("default_margin").width top: progressBar.bottom bottom: parent.bottom left: parent.left 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.