mirror of
https://github.com/moonlight-stream/moonlight-qt
synced 2024-09-20 14:11:54 +00:00
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
|
||||
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.accent: Material.Purple
|
||||
|
||||
|
|
Loading…
Reference in a new issue