remove useless margin stuff
This commit is contained in:
parent
608d8bbfce
commit
0d20fc7313
9 changed files with 64 additions and 53 deletions
|
|
@ -26,25 +26,15 @@ Variants {
|
|||
anchors.leftMargin: 10
|
||||
Ws {
|
||||
barScreen: root.modelData
|
||||
barHeight: root.implicitHeight
|
||||
}
|
||||
ActiveWindow {
|
||||
vertMargin: barHeight / 4 - 4
|
||||
barHeight: root.implicitHeight
|
||||
Layout.maximumWidth: 300
|
||||
Layout.maximumHeight: barHeight - (barHeight / 4 + 2)
|
||||
Layout.fillWidth: false
|
||||
}
|
||||
ActiveWindow {}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: centerLayout
|
||||
anchors.centerIn: parent
|
||||
spacing: 5
|
||||
Clock {
|
||||
vertMargin: barHeight / 4 - 4
|
||||
barHeight: root.implicitHeight
|
||||
}
|
||||
Clock {}
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
|
|
@ -53,15 +43,10 @@ Variants {
|
|||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 5
|
||||
anchors.rightMargin: 10
|
||||
Mpris {
|
||||
barHeight: root.implicitHeight
|
||||
}
|
||||
Pw {
|
||||
barHeight: root.implicitHeight
|
||||
}
|
||||
Tray {
|
||||
barHeight: root.implicitHeight
|
||||
}
|
||||
Mpris {}
|
||||
Bat {}
|
||||
Pw {}
|
||||
Tray {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue