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:
parent
d75c63a8ce
commit
60fc9d7cfd
1 changed files with 2 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ template $FeedTheMonkeyWindow : Adw.ApplicationWindow {
|
||||||
Paned paned {
|
Paned paned {
|
||||||
focusable: false;
|
focusable: false;
|
||||||
resize-start-child: false;
|
resize-start-child: false;
|
||||||
|
shrink-end-child: false;
|
||||||
|
|
||||||
start-child: Adw.ToolbarView sidebar_toolbar {
|
start-child: Adw.ToolbarView sidebar_toolbar {
|
||||||
top-bar-style: raised;
|
top-bar-style: raised;
|
||||||
|
|
@ -106,6 +107,7 @@ template $FeedTheMonkeyWindow : Adw.ApplicationWindow {
|
||||||
|
|
||||||
end-child: Adw.ToolbarView {
|
end-child: Adw.ToolbarView {
|
||||||
top-bar-style: raised;
|
top-bar-style: raised;
|
||||||
|
width-request: 320;
|
||||||
|
|
||||||
[top]
|
[top]
|
||||||
Adw.HeaderBar {
|
Adw.HeaderBar {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue