From 4b7d6171cda04fe1d4d6e4ab64a40c671f7040e5 Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Mon, 24 Apr 2023 11:30:20 -0400 Subject: [PATCH] Shrink the drawer button to fit with everything else. --- main.qml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/main.qml b/main.qml index 31a578c5..3b0b2f13 100644 --- a/main.qml +++ b/main.qml @@ -140,7 +140,7 @@ Window { anchors.top: parent.top anchors.topMargin: 30 anchors.leftMargin: 30 - width: 60 + width: 40 height: 40 z: 200 padding: 15 @@ -150,13 +150,15 @@ Window { Accessible.description: qsTr("Hamburger button that reveals a drawer on the left of the application") background: Item { - anchors.fill: parent + anchors.centerIn: parent + width: 30 + height: 30 Rectangle { id: bar1 color: theme.backgroundLightest width: parent.width - height: 8 + height: 6 radius: 2 antialiasing: true } @@ -166,7 +168,7 @@ Window { anchors.centerIn: parent color: theme.backgroundLightest width: parent.width - height: 8 + height: 6 radius: 2 antialiasing: true } @@ -176,7 +178,7 @@ Window { anchors.bottom: parent.bottom color: theme.backgroundLightest width: parent.width - height: 8 + height: 6 radius: 2 antialiasing: true }