Settings: better looking settings panel on 1080p
This commit is contained in:
parent
6bcb85137b
commit
e8c2042290
2 changed files with 15 additions and 10 deletions
|
|
@ -11,8 +11,8 @@ import qs.Widgets
|
|||
NPanel {
|
||||
id: root
|
||||
|
||||
panelWidth: Math.max(screen?.width * 0.4, 768) * scaling
|
||||
panelHeight: Math.max(screen?.height * 0.75, 810) * scaling
|
||||
panelWidth: Math.round(Math.max(screen?.width * 0.4, 1000) * scaling)
|
||||
panelHeight: Math.round(Math.max(screen?.height * 0.75, 800) * scaling)
|
||||
panelAnchorHorizontalCenter: true
|
||||
panelAnchorVerticalCenter: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue