macOS: enable fullscreen support

pull/2/head
selsta 5 years ago
parent ff6ce6294b
commit b2a7cb3d40
Signed by untrusted user: selsta
GPG Key ID: 2EA0A99A8B07AE5E

@ -50,7 +50,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
show()
root.visible = true;
input.focus = true;
input.text = "";

@ -86,7 +86,6 @@ Rectangle {
root.x = parent.width/2 - root.width/2
root.y = 100
}
show()
root.z = 11
root.visible = true;
}

@ -1,5 +1,5 @@
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