Skip to content

Commit

Permalink
Merge pull request #23 from Undef-a/calamares
Browse files Browse the repository at this point in the history
mobile: Reflow confirm page to fit smaller screens
  • Loading branch information
adriaandegroot authored Jul 1, 2023
2 parents 9b4c487 + dfab089 commit 349acad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/mobile/install_confirm.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ Item {
id: mainText
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 30
anchors.topMargin: 25
wrapMode: Text.WordWrap

text: (function() {
var ret = "Once you hit 'install', the installation will begin." +
" It will typically take a few minutes. Do not power off the" +
" device until it is done.<br><br>";
" device until it is done.<br>";

if (config.installFromExternalToInternal) {
ret += "<b>After the installation, your device will shutdown" +
Expand All @@ -44,14 +44,14 @@ Item {
return ret;
}())

width: 500
width: 550
}

Button {
id: firstButton
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: mainText.bottom
anchors.topMargin: 40
anchors.topMargin: 20
width: 500

text: qsTr("Install")
Expand Down

0 comments on commit 349acad

Please sign in to comment.