Simplify
This commit is contained in:
@@ -199,28 +199,12 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 14
|
spacing: 14
|
||||||
|
|
||||||
Row {
|
Text {
|
||||||
width: parent.width
|
text: "Brightness"
|
||||||
spacing: 8
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
|
font.family: root.bar.fontFamily
|
||||||
Text {
|
font.pixelSize: 11
|
||||||
text: "Display"
|
font.bold: true
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
|
||||||
font.family: root.bar.fontFamily
|
|
||||||
font.pixelSize: 11
|
|
||||||
font.bold: true
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
}
|
|
||||||
|
|
||||||
Text {
|
|
||||||
text: root.focusedMonitor ? "· " + root.focusedMonitor : ""
|
|
||||||
color: Qt.darker(root.bar.foreground, 1.8)
|
|
||||||
font.family: root.bar.fontFamily
|
|
||||||
font.pixelSize: 11
|
|
||||||
elide: Text.ElideRight
|
|
||||||
width: parent.width - 70
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
@@ -280,7 +264,7 @@ Item {
|
|||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
text: "Scale" + (root.monitorScale ? " · " + root.monitorScale + "x" : "")
|
text: "Scale"
|
||||||
color: Qt.darker(root.bar.foreground, 1.5)
|
color: Qt.darker(root.bar.foreground, 1.5)
|
||||||
font.family: root.bar.fontFamily
|
font.family: root.bar.fontFamily
|
||||||
font.pixelSize: 11
|
font.pixelSize: 11
|
||||||
|
|||||||
Reference in New Issue
Block a user