Scaling: many improvements and fixes
- radius are not pixels, they should not be scaled - use "screen" instead of "Screen" which helps a lot in some places
This commit is contained in:
parent
eda65a9948
commit
d3be5b760b
43 changed files with 532 additions and 538 deletions
11
Bar/Bar.qml
11
Bar/Bar.qml
|
|
@ -47,19 +47,20 @@ Scope {
|
|||
id: barBackground
|
||||
|
||||
width: parent.width
|
||||
height: 36 * Theme.scale(Screen)
|
||||
height: 36 * Theme.scale(panel.screen)
|
||||
color: Theme.backgroundPrimary
|
||||
anchors.top: parent.top
|
||||
anchors.left: parent.left
|
||||
}
|
||||
|
||||
|
||||
Row {
|
||||
id: leftWidgetsRow
|
||||
|
||||
anchors.verticalCenter: barBackground.verticalCenter
|
||||
anchors.left: barBackground.left
|
||||
anchors.leftMargin: 18 * Theme.scale(Screen)
|
||||
spacing: 12 * Theme.scale(Screen)
|
||||
anchors.leftMargin: 18 * Theme.scale(panel.screen)
|
||||
spacing: 12 * Theme.scale(panel.screen)
|
||||
|
||||
SystemInfo {
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
|
@ -92,8 +93,8 @@ Scope {
|
|||
|
||||
anchors.verticalCenter: barBackground.verticalCenter
|
||||
anchors.right: barBackground.right
|
||||
anchors.rightMargin: 18 * Theme.scale(Screen)
|
||||
spacing: 12 * Theme.scale(Screen)
|
||||
anchors.rightMargin: 18 * Theme.scale(panel.screen)
|
||||
spacing: 12 * Theme.scale(panel.screen)
|
||||
|
||||
SystemTray {
|
||||
id: systemTrayModule
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue