From 07279bf54195b705a7335c440afab1f4a47d0bda Mon Sep 17 00:00:00 2001 From: Nate Graham Date: Mon, 8 May 2023 15:46:10 +0200 Subject: [PATCH] tabbox: make Thumbnail Grid active item's text bold This makes it follow a common KDE convention of using bold text to indicate which item in a set is active or current. Doing it here too helps direct visual attention to the selected item, improving speed of interaction. --- src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml b/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml index 525d0f5c14..8ca28d8e5d 100644 --- a/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml +++ b/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml @@ -184,6 +184,7 @@ KWin.TabBoxSwitcher { PlasmaComponents3.Label { Layout.fillWidth: true text: model.caption + font.weight: thumbnailGridItem.isCurrentItem ? Font.Bold : Font.Normal horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter textFormat: Text.PlainText