Maximize the Qt UI window if configured for a full-screen display mode
This commit is contained in:
parent
82a87e96b3
commit
fc315feac4
1 changed files with 6 additions and 0 deletions
|
|
@ -18,6 +18,12 @@ ApplicationWindow {
|
||||||
width: 1280
|
width: 1280
|
||||||
height: 600
|
height: 600
|
||||||
|
|
||||||
|
// Maximize the window by default when the stream is configured
|
||||||
|
// for full-screen or borderless windowed. This is ideal for TV
|
||||||
|
// setups where the user doesn't want a tiny window in the middle
|
||||||
|
// of their screen when starting Moonlight.
|
||||||
|
visibility: prefs.windowMode != StreamingPreferences.WM_WINDOWED ? "Maximized" : "Windowed"
|
||||||
|
|
||||||
Material.theme: Material.Dark
|
Material.theme: Material.Dark
|
||||||
Material.accent: Material.Purple
|
Material.accent: Material.Purple
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue