Tweaks to styling

This commit is contained in:
2026-08-19 15:12:07 -04:00
parent bba7098437
commit 40a8a79b0b
+32 -17
View File
@@ -11,17 +11,28 @@
<property name="default-height">720</property>
<property name="content">
<object class="AdwNavigationSplitView" id="split_view">
<property name="sidebar">
<object class="AdwNavigationPage">
<property name="title" translatable="yes">Sidebar</property>
<property name="child">
<object class="AdwOverlaySplitView" id="split_view">
<property name="sidebar-width-fraction">0.25</property>
<property name="sidebar-width-unit">px</property>
<property name="max-sidebar-width">200</property>
<property name="min-sidebar-width">200</property>
<property name="show-sidebar">true</property>
<property name="sidebar">
<object class="AdwToolbarView">
<child type="top">
<object class="AdwHeaderBar">
<property name="title-widget">
<object class="GtkLabel">
<property name="label" translatable="yes">WorldBuilder</property>
<style>
<class name="heading"/>
</style>
</object>
</property>
<property name="show-end-title-buttons">false</property>
<property name="show-title">false</property>
<child type="end">
<object class="GtkMenuButton">
<property name="primary">True</property>
@@ -33,20 +44,27 @@
</object>
</child>
</object>
</property>
</property>
</object>
</property>
<property name="content">
<object class="AdwNavigationPage">
<property name="title" translatable="yes">Worldbuilder</property>
<property name="child">
<object class="AdwToolbarView">
<property name="top-bar-style">flat</property>
<child type="top">
<object class="AdwHeaderBar">
<property name="show-end-title-buttons">true</property>
<property name="show-title">true</property>
<property name="show-title">false</property>
<style>
<class name="preview-headerbar"/>
</style>
<child type="start">
<object class="GtkToggleButton" id="sidebar_toggle_button">
<property name="icon-name">sidebar-show-symbolic</property>
<property name="tooltip-text" translatable="yes">Toggle Sidebar</property>
<property name="active" bind-source="split_view" bind-property="show-sidebar" bind-flags="sync-create | bidirectional">True</property>
</object>
</child>
</object>
</child>
@@ -58,9 +76,6 @@
</child>
</object>
</property>
</object>
</property>
</object>
</property>
</template>