aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-11-17 17:02:45 +0200
committerRiccardo Spagni <ric@spagni.net>2016-11-17 17:02:45 +0200
commitbfff5e0ec79d11a62092c8d936e46ff2126a301c (patch)
tree6468d3dec7113bf1f2ebf25f0e3c71af8f4ba276
parent26fe48c0221e5159c8d2bed0fdec0b54aec51e01 (diff)
parentae44eec077abc69e6d079497a06bc8dad47e316f (diff)
downloadmonzero-gui-bfff5e0ec79d11a62092c8d936e46ff2126a301c.tar.gz
monzero-gui-bfff5e0ec79d11a62092c8d936e46ff2126a301c.tar.xz
monzero-gui-bfff5e0ec79d11a62092c8d936e46ff2126a301c.zip
Merge pull request #171
ae44eec Title-bar: auto-hide disabled (Ilya Kitaev)
-rw-r--r--LeftPanel.qml2
-rw-r--r--main.qml5
2 files changed, 5 insertions, 2 deletions
diff --git a/LeftPanel.qml b/LeftPanel.qml
index c6b8fb11..d1a4e8a1 100644
--- a/LeftPanel.qml
+++ b/LeftPanel.qml
@@ -73,7 +73,7 @@ Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.top: parent.top
- anchors.topMargin: 31
+ anchors.topMargin: 48
height: logo.implicitHeight
Image {
diff --git a/main.qml b/main.qml
index ddb19b21..c09f0c3c 100644
--- a/main.qml
+++ b/main.qml
@@ -759,7 +759,7 @@ ApplicationWindow {
PropertyChanges { target: resizeArea; visible: true }
PropertyChanges { target: titleBar; maximizeButtonVisible: true }
PropertyChanges { target: frameArea; blocked: false }
- PropertyChanges { target: titleBar; y: -titleBar.height }
+ PropertyChanges { target: titleBar; y: 0 }
PropertyChanges { target: titleBar; title: qsTr("Monero") + translationManager.emptyString }
}
]
@@ -814,8 +814,11 @@ ApplicationWindow {
height: 30
z: 1
hoverEnabled: true
+ // Uncomment to enable 'auto-hidden' titlebar
+ /*
onEntered: if(!blocked) titleBar.y = 0
onExited: if(!blocked) titleBar.y = -titleBar.height
+ */
propagateComposedEvents: true
onPressed: mouse.accepted = false
onReleased: mouse.accepted = false