mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-16 15:58:11 +00:00
Title-bar: auto-hide disabled
This commit is contained in:
parent
24a66c184d
commit
ae44eec077
2 changed files with 5 additions and 2 deletions
|
@ -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 {
|
||||
|
|
5
main.qml
5
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
|
||||
|
|
Loading…
Reference in a new issue