NPanel: simplified screen/scaling management
This commit is contained in:
parent
6ea1e2b4c7
commit
82ac49ce85
28 changed files with 120 additions and 163 deletions
|
|
@ -13,8 +13,8 @@ import qs.Widgets
|
|||
NPanel {
|
||||
id: root
|
||||
|
||||
panelWidth: 440 * scaling
|
||||
panelHeight: 380 * scaling
|
||||
preferredWidth: 440
|
||||
preferredHeight: 380
|
||||
panelAnchorHorizontalCenter: true
|
||||
panelAnchorVerticalCenter: true
|
||||
panelKeyboardFocus: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue