From fc605c8c6f9009f0ff9326562b86bf0469e8e32e Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 14 Jan 2022 13:48:30 +0100 Subject: [PATCH] StudioWelcome: Slight adjustements to Splash Screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Anchoring the text to the checkbox and use configure instead of enable/disable, because there already is the checkbox. Change-Id: Ied6f231cec54d1fbf924b34bf0a8850cefc8bffb Reviewed-by: Mahmoud Badri Reviewed-by: Jarko Vihriala Reviewed-by: Kimmo Leppälä --- .../studiowelcome/qml/splashscreen/Welcome_splash.qml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml index 412ceb77337..86a1dae3925 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml @@ -60,12 +60,10 @@ Rectangle { var settingPath = Qt.platform.os === "osx" ? qsTr("Qt Creator > Preferences > Environment > System") : qsTr("Tools > Options > Environment > System") - var strOn = qsTr("Qt Design Studio collects crash reports for the sole purpose of fixing bugs. " - + "You can disable this feature under %1. %2").arg(settingPath).arg(configureButton) - var strOff = qsTr("Qt Design Studio can collect crash reports for the sole purpose of fixing bugs. " - + "You can enable this feature under %1. %2").arg(settingPath).arg(configureButton) + var strConfigure = qsTr("Qt Design Studio collects usage statistics and crash reports for the sole purpose of fixing bugs and improving the tool. " + + "You can configure the crash reporter under %1. %2").arg(settingPath).arg(configureButton) - crash_reporting_text.text = crashReportingOn ? strOn : strOff; + crash_reporting_text.text = strConfigure crashReportCheckBox.visible = true } } @@ -173,11 +171,13 @@ Rectangle { Text { id: crash_reporting_text color: "#ffffff" + anchors.bottom: columnLayout.top textFormat: Text.RichText x: 15 y: 280 width: 311 wrapMode: Text.WordWrap + anchors.bottomMargin: 8 font.family: StudioFonts.titilliumWeb_light font.pixelSize: 12 font.wordSpacing: 0 @@ -230,6 +230,7 @@ Rectangle { } ColumnLayout { + id: columnLayout anchors.left: parent.left anchors.bottom: parent.bottom anchors.leftMargin: 16