[gnome-music/wip/jfelder/gtk4-v3] headerbar: Use wide policy for the view switcher



commit 91d441c18faa4717c0f1a3420d127e2d6e6f33ae
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Feb 12 12:44:59 2022 +0100

    headerbar: Use wide policy for the view switcher

 gnomemusic/widgets/headerbar.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/headerbar.py b/gnomemusic/widgets/headerbar.py
index 19dd6a96f..1b890338a 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -113,7 +113,8 @@ class HeaderBar(Adw.Bin):
         self._selection_mode = False
 
         self._stack_switcher = Adw.ViewSwitcher(
-            focusable=False, halign="center")
+            focusable=False, halign="center",
+            policy=Adw.ViewSwitcherPolicy.WIDE)
 
         self._selection_menu = SelectionBarMenuButton()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]