diff options
| author | selsta <selsta@sent.at> | 2019-09-06 00:11:12 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-09-06 00:11:12 +0200 |
| commit | 8dab0755d325f338c81c8eb8ab1f0f0156cf86b1 (patch) | |
| tree | e2056793c43afee57ca5209ab080aec5bac5b9be /components/StandardDialog.qml | |
| parent | a267712d100a9c514dd7de451356fe115b2090a9 (diff) | |
| download | monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.gz monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.tar.xz monzero-gui-8dab0755d325f338c81c8eb8ab1f0f0156cf86b1.zip | |
repo: remove isMobile leftovers
Diffstat (limited to 'components/StandardDialog.qml')
| -rw-r--r-- | components/StandardDialog.qml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/components/StandardDialog.qml b/components/StandardDialog.qml index 338d6767..cf6ed30e 100644 --- a/components/StandardDialog.qml +++ b/components/StandardDialog.qml @@ -82,10 +82,8 @@ Rectangle { function open() { // Center - if(!isMobile) { - root.x = parent.width/2 - root.width/2 - root.y = 100 - } + root.x = parent.width/2 - root.width/2 + root.y = 100 root.z = 11 root.visible = true; } @@ -96,14 +94,14 @@ Rectangle { } // TODO: implement without hardcoding sizes - width: isMobile ? screenWidth : 520 - height: isMobile ? screenHeight : 380 + width: 520 + height: 380 ColumnLayout { id: mainLayout spacing: 10 anchors.fill: parent - anchors.margins: (isMobile? 17 : 20) + anchors.margins: 20 RowLayout { id: column |
