macOS: enable fullscreen support

This commit is contained in:
selsta 2019-04-25 23:41:17 +02:00
parent ff6ce6294b
commit b2a7cb3d40
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
3 changed files with 1 additions and 3 deletions

View file

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

View file

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

View file

@ -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