Merge pull request #2117

b2a7cb3 macOS: enable fullscreen support (selsta)
This commit is contained in:
luigi1111 2019-04-30 15:22:41 -05:00
commit 7daff4c13a
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010
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