window: prevent sidebar from covering the content area

Add shrink-end-child: false to the Paned so the content panel cannot be
squeezed below its minimum size, and set width-request: 360 on the
content ToolbarView so there is always a visible reading area.
This commit is contained in:
Jeena 2026-03-22 02:06:57 +00:00
parent 2c5217e744
commit db41a691e6

View file

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