Add .dim-label to games_no_label

This commit is contained in:
kramo
2023-07-08 00:12:25 +02:00
parent eb0d3584cf
commit 22200be167

View File

@@ -133,7 +133,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
) )
row.append( row.append(
Gtk.Label( games_no_label := Gtk.Label(
label=games_no, label=games_no,
hexpand=True, hexpand=True,
halign=Gtk.Align.END, 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 # Order rows based on the number of games in them
index = 3 index = 3
while source_row := self.sidebar.get_row_at_index(index): while source_row := self.sidebar.get_row_at_index(index):