From 09b877eab643da6b328e0a9b5e5f8df4ff3415d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Hamal=20Dvo=C5=99=C3=A1k?= <mordae@anilinux.org> Date: Sat, 8 Mar 2025 20:09:26 +0100 Subject: [PATCH] Tweak panes --- lazy_player/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lazy_player/__init__.py b/lazy_player/__init__.py index 715f236..6210b3c 100644 --- a/lazy_player/__init__.py +++ b/lazy_player/__init__.py @@ -20,10 +20,10 @@ class MainWindow(Gtk.ApplicationWindow): # Main horizontal box to split the screen main_box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL) - main_box.set_homogeneous(True) # Make both halves equal size # Left half - File list left_box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) + left_box.set_hexpand(True) # Create list store and view list_store = Gtk.StringList() @@ -51,6 +51,7 @@ class MainWindow(Gtk.ApplicationWindow): right_box.set_halign(Gtk.Align.CENTER) right_label = Gtk.Label(label="Right Side") right_box.append(right_label) + right_box.set_hexpand(True) # Add both halves to main box main_box.append(left_box)