fractal/data/resources/ui/content.ui
2021-02-16 11:30:41 +01:00

88 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="FrctlContent" parent="AdwBin">
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="AdwHeaderBar" id="headerbar">
<property name="show-start-title-buttons" bind-source="FrctlContent" bind-property="compact" bind-flags="sync-create" />
<child type="end">
<object class="GtkMenuButton" id="room_menu">
<property name="icon-name">view-more-symbolic</property>
</object>
</child>
<child type="end">
<object class="GtkToggleButton" id="search_content_button">
<property name="icon-name">system-search-symbolic</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkSearchBar" id="room_search">
<property name="search-mode-enabled" bind-source="search_content_button" bind-property="active" />
<property name="child">
<object class="AdwClamp">
<property name="hexpand">True</property>
<child>
<object class="GtkSearchEntry"/>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="AdwClamp">
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<style>
<class name="content"/>
</style>
<child>
<object class="GtkListView" id="room_history">
</object>
</child>
</object>
</child>
<child>
<object class="GtkSeparator" />
</child>
<child>
<object class="AdwClamp">
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<style>
<class name="send-message-area"/>
</style>
<child>
<object class="GtkButton">
<property name="icon-name">mail-attachment-symbolic</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">format-justify-left-symbolic</property>
</object>
</child>
<child>
<object class="GtkEntry" id="message_entry">
<property name="hexpand">True</property>
</object>
</child>
<child>
<object class="GtkButton">
<property name="icon-name">send-symbolic</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>