aboutsummaryrefslogtreecommitdiff
path: root/wizard
diff options
context:
space:
mode:
Diffstat (limited to 'wizard')
-rw-r--r--wizard/WizardController.qml4
-rw-r--r--wizard/WizardLang.qml4
-rw-r--r--wizard/WizardLanguage.qml2
3 files changed, 3 insertions, 7 deletions
diff --git a/wizard/WizardController.qml b/wizard/WizardController.qml
index d1d29a5b..dd6452da 100644
--- a/wizard/WizardController.qml
+++ b/wizard/WizardController.qml
@@ -119,9 +119,7 @@ Rectangle {
property int flickableHeightMargin: 200
property int layoutScale: {
- if(isMobile){
- return 0;
- } else if(appWindow.width < 800){
+ if(appWindow.width < 800){
return 1;
} else {
return 2;
diff --git a/wizard/WizardLang.qml b/wizard/WizardLang.qml
index 162abb5e..b6b173b3 100644
--- a/wizard/WizardLang.qml
+++ b/wizard/WizardLang.qml
@@ -41,9 +41,7 @@ Rectangle {
color: "transparent"
anchors.fill: parent
property int layoutScale: {
- if(isMobile){
- return 0;
- } else if(appWindow.width < 800){
+ if(appWindow.width < 800){
return 1;
} else {
return 2;
diff --git a/wizard/WizardLanguage.qml b/wizard/WizardLanguage.qml
index 3d1f96f6..2d6d37b4 100644
--- a/wizard/WizardLanguage.qml
+++ b/wizard/WizardLanguage.qml
@@ -149,7 +149,7 @@ Rectangle {
GridLayout {
id: buttonsGrid
opacity: 0
- columns: isMobile ? 1 : 2
+ columns: 2
Layout.alignment: Qt.AlignCenter
Layout.topMargin: 20
Layout.fillWidth: true