WorkspacePill: adjust centering (fixes #1615)

This commit is contained in:
Lysec
2026-01-29 11:51:54 +01:00
parent 2da7d41242
commit 3d3e0c123e
+3 -1
View File
@@ -112,7 +112,7 @@ Item {
Loader {
active: (labelMode !== "none") && (!showLabelsOnlyWhenOccupied || workspace.isOccupied || workspace.isFocused)
anchors.centerIn: parent
anchors.fill: parent
sourceComponent: Component {
NText {
text: {
@@ -137,6 +137,8 @@ Item {
applyUiScale: false
font.capitalization: Font.AllUppercase
font.weight: Style.fontWeightBold
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
wrapMode: Text.Wrap
color: {
if (pillMouseArea.containsMouse)