Merge pull request #2377

8dab075 repo: remove isMobile leftovers (selsta)
This commit is contained in:
luigi1111
2019-09-14 12:43:36 -05:00
31 changed files with 48 additions and 360 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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