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