[fractal/fractal-next] session: Add a separator between the Sidebar and Content
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] session: Add a separator between the Sidebar and Content
- Date: Sat, 9 Oct 2021 09:45:36 +0000 (UTC)
commit d60992f816e3346d581d11f4a660ae65416f1013
Author: Marco Melorio <marco melorio protonmail com>
Date: Tue Oct 5 16:32:36 2021 +0200
session: Add a separator between the Sidebar and Content
This is needed because libadwaita recently dropped the separator in the .sidebar class.
data/resources/ui/session.ui | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/data/resources/ui/session.ui b/data/resources/ui/session.ui
index a137d8f3..fc2f6562 100644
--- a/data/resources/ui/session.ui
+++ b/data/resources/ui/session.ui
@@ -46,6 +46,18 @@
<property name="selected-type" bind-source="Session" bind-property="selected-content-type"
bind-flags="sync-create | bidirectional"/>
</object>
</child>
+ <child>
+ <object class="AdwLeafletPage">
+ <property name="navigatable">False</property>
+ <property name="child">
+ <object class="GtkSeparator">
+ <style>
+ <class name="sidebar"/>
+ </style>
+ </object>
+ </property>
+ </object>
+ </child>
<child>
<object class="Content">
<property name="compact" bind-source="content" bind-property="folded"
bind-flags="sync-create"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]