aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 008ec0ae..8ecf6494 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 2e8d432c..68270149 100644
--- a/main.qml
+++ b/main.qml
@@ -771,7 +771,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 }
}
]
@@ -826,8 +826,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