From fc71f6100043a481bea9464c8765adc9be9f5ab7 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Tue, 26 Aug 2025 14:09:54 -0400 Subject: [PATCH] Workspace: another attempt at proper text centering --- Modules/Bar/Widgets/Workspace.qml | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Modules/Bar/Widgets/Workspace.qml b/Modules/Bar/Widgets/Workspace.qml index 3bf9ff4..ab55c1b 100644 --- a/Modules/Bar/Widgets/Workspace.qml +++ b/Modules/Bar/Widgets/Workspace.qml @@ -161,18 +161,6 @@ Item { Loader { anchors.centerIn: parent - anchors.verticalCenterOffset: { - if (model.isFocused) - return 0 - if (model.name && model.name.length > 0) - return 1 * scaling - return 0 - } - anchors.horizontalCenterOffset: { - if (model.name && model.name.length > 0) - return 0.5 * scaling - return 0 - } active: Settings.data.bar.showWorkspacesNames sourceComponent: Component { Text { @@ -185,9 +173,7 @@ Item { } font.pointSize: model.isFocused ? Style.fontSizeXS * scaling : Style.fontSizeXXS * scaling font.capitalization: Font.AllUppercase - //font.family: Settings.data.ui.fontFixed - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter + font.family: Settings.data.ui.fontFixed wrapMode: Text.Wrap color: { if (model.isFocused)