Expand headers area to show multiple rows
The headers scrolled window now fills available vertical space, allowing users to view and edit multiple headers simultaneously without scrolling.
This commit is contained in:
parent
00139f2588
commit
7a45c4d576
@ -545,6 +545,8 @@ class RosterWindow(Adw.ApplicationWindow):
|
|||||||
|
|
||||||
# Headers tab
|
# Headers tab
|
||||||
headers_scroll = Gtk.ScrolledWindow()
|
headers_scroll = Gtk.ScrolledWindow()
|
||||||
|
headers_scroll.set_vexpand(True) # Expand to fill available space
|
||||||
|
headers_scroll.set_min_content_height(150) # Show ~3-4 rows minimum
|
||||||
self.headers_listbox = Gtk.ListBox()
|
self.headers_listbox = Gtk.ListBox()
|
||||||
self.headers_listbox.add_css_class("boxed-list")
|
self.headers_listbox.add_css_class("boxed-list")
|
||||||
headers_scroll.set_child(self.headers_listbox)
|
headers_scroll.set_child(self.headers_listbox)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user