aboutsummaryrefslogtreecommitdiff
path: root/components/StandardDialog.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-09-06 00:11:12 +0200
committerselsta <selsta@sent.at>2019-09-06 00:11:12 +0200
commit8dab0755d325f338c81c8eb8ab1f0f0156cf86b1 (patch)
treee2056793c43afee57ca5209ab080aec5bac5b9be /components/StandardDialog.qml
parenta267712d100a9c514dd7de451356fe115b2090a9 (diff)
downloadmonzero-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.qml12
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