diff options
Diffstat (limited to 'main/data')
-rw-r--r-- | main/data/unified_main_content.ui | 78 |
1 files changed, 47 insertions, 31 deletions
diff --git a/main/data/unified_main_content.ui b/main/data/unified_main_content.ui index a66275de..d8ba93be 100644 --- a/main/data/unified_main_content.ui +++ b/main/data/unified_main_content.ui @@ -54,44 +54,60 @@ <object class="GtkBox" id="right_box"> <property name="orientation">vertical</property> <child> - <object class="GtkOverlay"> - <property name="child"> - <object class="GtkStack" id="right_stack"> + <object class="AdwFlap" id="search_flap"> + <property name="flap-position">end</property> + <property name="modal">true</property> + <property name="locked">true</property> + <property name="swipe-to-open">false</property> + <property name="fold-threshold-policy">natural</property> + <property name="hexpand">true</property> + <child type="content"> + <object class="DinoUiNaturalSizeIncrease"> + <property name="min-natural-width">600</property> <child> - <object class="GtkStackPage"> - <property name="name">content</property> - <property name="child"> - <object class="DinoUiConversationView" id="conversation_view"> + <object class="GtkStack" id="right_stack"> + <property name="hexpand">false</property> + <child> + <object class="GtkStackPage"> + <property name="name">content</property> + <property name="child"> + <object class="DinoUiConversationView" id="conversation_view"> + </object> + </property> </object> - </property> - </object> - </child> - <child> - <object class="GtkStackPage"> - <property name="name">placeholder</property> - <property name="child"> - <object class="AdwStatusPage"> - <property name="icon-name">im.dino.Dino-symbolic</property> - <property name="hexpand">True</property> - <property name="vexpand">True</property> + </child> + <child> + <object class="GtkStackPage"> + <property name="name">placeholder</property> + <property name="child"> + <object class="AdwStatusPage"> + <property name="icon-name">im.dino.Dino-symbolic</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + </object> + </property> </object> - </property> + </child> </object> </child> </object> - </property> - <child type="overlay"> - <object class="GtkRevealer" id="search_revealer"> - <property name="halign">end</property> - <property name="transition-type">slide-left</property> - <style> - <class name="dino-sidebar"/> - </style> - <property name="child"> - <object class="GtkFrame" id="search_frame"> - <property name="width-request">400</property> + </child> + <child type="separator"> + <object class="GtkSeparator" /> + </child> + <child type="flap"> + <object class="AdwClamp"> + <property name="hexpand">false</property> + <property name="maximum-size">400</property> + <property name="tightening-threshold">400</property> + <child> + <object class="AdwBin" id="search_frame"> + <property name="hexpand">true</property> + <style> + <class name="background"/> + </style> </object> - </property> + </child> </object> </child> </object> |