anotherim-desktop/main/data/unified_main_content.ui

119 lines
6.6 KiB
Plaintext
Raw Normal View History

2018-07-04 21:38:28 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
2022-02-14 13:55:59 +00:00
<requires lib="gtk" version="4.0"/>
<object class="AdwLeaflet" id="leaflet">
<property name="transition-type">slide</property>
<property name="can-navigate-back">true</property>
<property name="can-navigate-forward">true</property>
2018-07-04 21:38:28 +00:00
<child>
<object class="GtkBox" id="left_box">
<property name="orientation">vertical</property>
<child>
<object class="GtkStack" id="left_stack">
<property name="hexpand">False</property>
2022-02-14 13:55:59 +00:00
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="hscrollbar_policy">never</property>
<property name="vexpand">1</property>
<child>
<object class="DinoUiConversationSelector" id="conversation_list">
</object>
</child>
2022-02-14 13:55:59 +00:00
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">placeholder</property>
2022-02-14 13:55:59 +00:00
<property name="child">
<object class="AdwStatusPage">
<style>
<class name="compact"/>
</style>
<property name="margin-start">20</property>
<property name="margin-end">20</property>
<property name="margin-top">20</property>
<property name="margin-bottom">20</property>
<property name="width_request">260</property>
<property name="title" translatable="True">You have no open chats</property>
<property name="description" translatable="True">Click + to start a conversation or join a channel</property>
2022-02-14 13:55:59 +00:00
</object>
</property>
</object>
2018-07-04 21:38:28 +00:00
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="right_box">
<property name="orientation">vertical</property>
<child>
2023-01-24 17:57:04 +00:00
<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>
2023-01-24 17:57:04 +00:00
<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>
2023-01-24 17:57:04 +00:00
</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>
2023-01-24 17:57:04 +00:00
</child>
</object>
</child>
2018-07-04 21:38:28 +00:00
</object>
2023-01-24 17:57:04 +00:00
</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>
2023-01-24 17:57:04 +00:00
</child>
</object>
</child>
2018-07-04 21:38:28 +00:00
</object>
</child>
</object>
</child>
</object>
</interface>