mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 20:20:02 +00:00
macOS: enable fullscreen support
This commit is contained in:
parent
ff6ce6294b
commit
b2a7cb3d40
3 changed files with 1 additions and 3 deletions
|
@ -50,7 +50,6 @@ Item {
|
||||||
leftPanel.enabled = false
|
leftPanel.enabled = false
|
||||||
middlePanel.enabled = false
|
middlePanel.enabled = false
|
||||||
titleBar.state = "essentials"
|
titleBar.state = "essentials"
|
||||||
show()
|
|
||||||
root.visible = true;
|
root.visible = true;
|
||||||
input.focus = true;
|
input.focus = true;
|
||||||
input.text = "";
|
input.text = "";
|
||||||
|
|
|
@ -86,7 +86,6 @@ Rectangle {
|
||||||
root.x = parent.width/2 - root.width/2
|
root.x = parent.width/2 - root.width/2
|
||||||
root.y = 100
|
root.y = 100
|
||||||
}
|
}
|
||||||
show()
|
|
||||||
root.z = 11
|
root.z = 11
|
||||||
root.visible = true;
|
root.visible = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
var flagsCustomDecorations = (Qt.FramelessWindowHint | Qt.CustomizeWindowHint | Qt.WindowSystemMenuHint | Qt.Window);
|
var flagsCustomDecorations = (Qt.FramelessWindowHint | Qt.CustomizeWindowHint | Qt.WindowSystemMenuHint | Qt.Window);
|
||||||
var flags = (Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint);
|
var flags = (Qt.WindowSystemMenuHint | Qt.Window | Qt.WindowMinimizeButtonHint | Qt.WindowCloseButtonHint | Qt.WindowTitleHint | Qt.WindowMaximizeButtonHint | Qt.WindowFullscreenButtonHint);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Toggles window decorations
|
* Toggles window decorations
|
||||||
|
|
Loading…
Reference in a new issue