mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-06-02 02:26:00 +00:00
Panels: Wallpaper, SetupWizrd, Launcher => Apply scale ratio
This commit is contained in:
@@ -11,9 +11,9 @@ NPanel {
|
||||
id: root
|
||||
|
||||
// Panel configuration
|
||||
preferredWidth: 500
|
||||
preferredWidth: 500 * Style.uiScaleRatio
|
||||
preferredHeight: 600 * Style.uiScaleRatio
|
||||
preferredWidthRatio: 0.3
|
||||
preferredHeight: 600
|
||||
preferredHeightRatio: 0.5
|
||||
|
||||
panelKeyboardFocus: true
|
||||
|
||||
@@ -10,8 +10,8 @@ import qs.Widgets
|
||||
NPanel {
|
||||
id: root
|
||||
|
||||
preferredWidth: 520
|
||||
preferredHeight: 600
|
||||
preferredWidth: 520 * Style.uiScaleRatio
|
||||
preferredHeight: 600 * Style.uiScaleRatio
|
||||
preferredWidthRatio: 0.4
|
||||
preferredHeightRatio: 0.6
|
||||
panelAnchorHorizontalCenter: true
|
||||
|
||||
@@ -12,8 +12,8 @@ import "../../Helpers/FuzzySort.js" as FuzzySort
|
||||
NPanel {
|
||||
id: root
|
||||
|
||||
preferredWidth: 640
|
||||
preferredHeight: 480
|
||||
preferredWidth: 640 * Style.uiScaleRatio
|
||||
preferredHeight: 480 * Style.uiScaleRatio
|
||||
preferredWidthRatio: 0.4
|
||||
preferredHeightRatio: 0.52
|
||||
panelAnchorHorizontalCenter: true
|
||||
|
||||
Reference in New Issue
Block a user