anotherim-desktop/main/data/chat_input.ui

70 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk+" version="3.22"/>
<template class="DinoUiChatInputView">
<property name="hexpand">True</property>
<property name="orientation">horizontal</property>
<property name="visible">True</property>
<style>
<class name="dino-chatinput"/>
</style>
<child>
<object class="GtkFrame" id="frame">
<property name="margin">12</property>
<property name="margin_top">0</property>
<property name="visible">True</property>
<child>
<object class="GtkBox" id="outer_box">
<property name="orientation">horizontal</property>
<property name="visible">True</property>
<child>
<object class="GtkButton" id="file_button">
<property name="can-focus">False</property>
<property name="margin-top">3</property>
<property name="relief">none</property>
<property name="valign">start</property>
<property name="visible">True</property>
<style>
<class name="flat"/>
<class name="dino-chatinput-button"/>
<class name="image-button"/>
</style>
<child>
<object class="GtkImage">
<property name="icon-name">mail-attachment-symbolic</property>
<property name="icon-size">1</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkSeparator" id="file_separator">
<property name="orientation">vertical</property>
<property name="visible">True</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolled">
<property name="max_content_height">300</property>
<property name="propagate_natural_height">true</property>
<property name="visible">True</property>
<child>
<object class="GtkTextView" id="text_input">
<property name="can_focus">True</property>
<property name="hexpand">True</property>
<property name="margin">8</property>
<property name="wrap-mode">GTK_WRAP_WORD_CHAR</property>
<property name="valign">center</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>