From 22200be167ca4b3f98911f525adade944cf684a4 Mon Sep 17 00:00:00 2001 From: kramo <93832451+kra-mo@users.noreply.github.com> Date: Sat, 8 Jul 2023 00:12:25 +0200 Subject: [PATCH] Add .dim-label to games_no_label --- src/window.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index a51fd47..acb74a6 100644 --- a/src/window.py +++ b/src/window.py @@ -133,7 +133,7 @@ class CartridgesWindow(Adw.ApplicationWindow): ) row.append( - Gtk.Label( + games_no_label := Gtk.Label( label=games_no, hexpand=True, halign=Gtk.Align.END, @@ -143,6 +143,8 @@ class CartridgesWindow(Adw.ApplicationWindow): ) ) + games_no_label.add_css_class("dim-label") + # Order rows based on the number of games in them index = 3 while source_row := self.sidebar.get_row_at_index(index):