diff options
| author | Ilya Kitaev <mbg033@gmail.com> | 2016-11-16 02:02:09 +0300 |
|---|---|---|
| committer | Ilya Kitaev <mbg033@gmail.com> | 2016-11-16 02:02:09 +0300 |
| commit | ae44eec077abc69e6d079497a06bc8dad47e316f (patch) | |
| tree | 1626171b888d494bd1559f2d61d08ce4b7702417 | |
| parent | 24a66c184d206d6f6bea427c4d893d3bd2db24b6 (diff) | |
| download | monzero-gui-ae44eec077abc69e6d079497a06bc8dad47e316f.tar.gz monzero-gui-ae44eec077abc69e6d079497a06bc8dad47e316f.tar.xz monzero-gui-ae44eec077abc69e6d079497a06bc8dad47e316f.zip | |
Title-bar: auto-hide disabled
| -rw-r--r-- | LeftPanel.qml | 2 | ||||
| -rw-r--r-- | main.qml | 5 |
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 { @@ -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 |
