window: prevent paned from covering the content area

Add shrink-end-child: false and width-request: 320 on the content
ToolbarView so the divider cannot be dragged all the way to the right
and hide the article view.
This commit is contained in:
Jeena 2026-03-22 04:21:28 +00:00
parent d75c63a8ce
commit 60fc9d7cfd

View file

@ -10,6 +10,7 @@ template $FeedTheMonkeyWindow : Adw.ApplicationWindow {
Paned paned {
focusable: false;
resize-start-child: false;
shrink-end-child: false;
start-child: Adw.ToolbarView sidebar_toolbar {
top-bar-style: raised;
@ -106,6 +107,7 @@ template $FeedTheMonkeyWindow : Adw.ApplicationWindow {
end-child: Adw.ToolbarView {
top-bar-style: raised;
width-request: 320;
[top]
Adw.HeaderBar {