summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2022-01-14 13:48:30 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2022-01-14 14:23:04 +0000
commitfc605c8c6f9009f0ff9326562b86bf0469e8e32e (patch)
treefb5d18f49900f688fbf4d5ecd8abc26928bd32c4
parentb01be6496375496a4e48807e9b7036ac9ae7a534 (diff)
downloadqt-creator-fc605c8c6f9009f0ff9326562b86bf0469e8e32e.tar.gz
StudioWelcome: Slight adjustements to Splash Screen
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 <mahmoud.badri@qt.io> Reviewed-by: Jarko Vihriala <jarko.vihriala@qt.io> Reviewed-by: Kimmo Leppälä <kimmo.leppala@qt.io>
-rw-r--r--src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml11
1 files 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 412ceb7733..86a1dae392 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