aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorSander Ferdinand <sa.ferdinand@gmail.com>2017-11-12 22:18:20 +0100
committerSander Ferdinand <sa.ferdinand@gmail.com>2017-11-12 22:18:20 +0100
commit1ada4f8826d72d2d0867585c0c3c7ce285c4db18 (patch)
tree28933178f3d135a16f5abedfe6f2727d38bb683d /components
parent476b727db1119be3376b1377a5d4c16f61831229 (diff)
downloadmonzero-gui-1ada4f8826d72d2d0867585c0c3c7ce285c4db18.tar.gz
monzero-gui-1ada4f8826d72d2d0867585c0c3c7ce285c4db18.tar.xz
monzero-gui-1ada4f8826d72d2d0867585c0c3c7ce285c4db18.zip
Decreasing menu button height
Diffstat (limited to 'components')
-rw-r--r--components/MenuButton.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/MenuButton.qml b/components/MenuButton.qml
index eb97d6db..41ff87cf 100644
--- a/components/MenuButton.qml
+++ b/components/MenuButton.qml
@@ -57,7 +57,7 @@ Rectangle {
color: checked ? "#FFFFFF" : "#1C1C1C"
property bool present: !under || under.checked || checked || under.numSelectedChildren > 0
- height: present ? ((appWindow.height >= 800) ? 64 * scaleRatio : 52 * scaleRatio ) : 0
+ height: present ? ((appWindow.height >= 800) ? 48 * scaleRatio : 36 * scaleRatio ) : 0
transform: Scale {
yScale: button.present ? 1 : 0
@@ -88,13 +88,13 @@ Rectangle {
Rectangle {
id: dot
anchors.centerIn: parent
- width: 16 * scaleRatio
+ width: 14 * scaleRatio
height: width
radius: height / 2
Rectangle {
anchors.centerIn: parent
- width: 12 * scaleRatio
+ width: 10 * scaleRatio
height: width
radius: height / 2
color: "#1C1C1C"
@@ -135,7 +135,7 @@ Rectangle {
anchors.left: parent.left
anchors.leftMargin: parent.getOffset() + 50 * scaleRatio
font.family: "Arial"
- font.pixelSize: 18 * scaleRatio
+ font.pixelSize: 16 * scaleRatio
color: parent.checked ? "#000000" : "#FFFFFF"
}