Skip to content

Commit

Permalink
window: Allow dynamic width for the sidebar
Browse files Browse the repository at this point in the history
With these tweaks this is now mimicking GNOME Settings
looks and adaptive behavior.

Fixes #604
  • Loading branch information
tchx84 committed Apr 12, 2024
1 parent 42726f5 commit 6b7d4a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<property name="height-request">294</property>
<child>
<object class="AdwBreakpoint">
<condition>max-width: 800sp</condition>
<condition>max-width: 540sp</condition>
<setter object="contentLeaflet" property="collapsed">True</setter>
<setter object="startHeaderBox" property="visible">False</setter>
<setter object="endHeaderBox" property="visible">False</setter>
Expand All @@ -17,7 +17,6 @@
<object class="AdwNavigationSplitView" id="contentLeaflet">
<property name="sidebar">
<object class="AdwNavigationPage">
<property name="width-request">360</property>
<property name="tag">applications</property>
<property name="title" translatable="yes">Applications</property>
<property name="child">
Expand Down Expand Up @@ -91,6 +90,7 @@
</property>
<property name="content">
<object class="AdwNavigationPage">
<property name="width-request">360</property>
<property name="tag">permissions</property>
<property name="title" translatable="yes">Permissions</property>
<property name="child">
Expand Down

0 comments on commit 6b7d4a2

Please sign in to comment.