Don't horizontally scroll sidebar

This commit is contained in:
kramo
2024-07-08 15:49:31 +02:00
parent 8504689426
commit c1226197f8
2 changed files with 9 additions and 1 deletions

View File

@@ -19,7 +19,7 @@
from typing import Any, Optional
from gi.repository import Adw, Gio, GLib, Gtk
from gi.repository import Adw, Gio, GLib, Gtk, Pango
from cartridges import shared
from cartridges.game import Game
@@ -152,6 +152,8 @@ class CartridgesWindow(Adw.ApplicationWindow):
Gtk.Label(
label=self.get_application().get_source_name(source_id),
halign=Gtk.Align.START,
wrap=True,
wrap_mode=Pango.WrapMode.CHAR,
)
)