mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-18 23:53:41 +02:00
Merge pull request #171
ae44eec
Title-bar: auto-hide disabled (Ilya Kitaev)
This commit is contained in:
commit
bfff5e0ec7
@ -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
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user