forked from Shinonome/dots-hyprland
bar: adjust xkb layout indicator font size
This commit is contained in:
@@ -300,7 +300,7 @@ Item { // Bar content region
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: HyprlandXkb.currentLayoutCode.split(":").join("\n")
|
text: HyprlandXkb.currentLayoutCode.split(":").join("\n")
|
||||||
font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smaller : Appearance.font.pixelSize.small
|
font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smallie : Appearance.font.pixelSize.small
|
||||||
color: rightSidebarButton.colText
|
color: rightSidebarButton.colText
|
||||||
animateChange: true
|
animateChange: true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -281,7 +281,7 @@ Item { // Bar content region
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: HyprlandXkb.currentLayoutCode.split(":").join("\n")
|
text: HyprlandXkb.currentLayoutCode.split(":").join("\n")
|
||||||
font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smaller : Appearance.font.pixelSize.small
|
font.pixelSize: text.includes("\n") ? Appearance.font.pixelSize.smallie : Appearance.font.pixelSize.small
|
||||||
color: rightSidebarButton.colText
|
color: rightSidebarButton.colText
|
||||||
animateChange: true
|
animateChange: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user