Add .dim-label to games_no_label
This commit is contained in:
@@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user