1
0
Fork 0

[UI] Added setting to only show title when fullscreen.

This commit is contained in:
Kitteh 2018-10-26 17:09:35 +01:00
parent 8a993db7c0
commit a44ebe93f7

View file

@ -233,12 +233,24 @@ ApplicationWindow {
//player.setOption("sub-margin-y", String(controlsBar.height + progressBar.height))
controlsBar.visible = true
controlsBackground.visible = true
if (appearance.titleOnlyOnFullscreen) {
if (mainWindow.visibility == Window.FullScreen) {
titleBar.visible = true
}
} else {
titleBar.visible = true
}
titleBackground.visible = true
menuBar.visible = true
}
}
Settings {
id: appearance
category: "Appearance"
property bool titleOnlyOnFullscreen: true
}
Dialog {
id: screenshotSaveDialog
title: "Save Screenshot To"
@ -759,7 +771,7 @@ ApplicationWindow {
anchors.left: menuBar.right
anchors.top: parent.top
visible: true
visible: ! appearance.titleOnlyOnFullscreen
color: "transparent"
Text {