aboutsummaryrefslogtreecommitdiff
path: root/main/data/chat_input.ui
blob: 87b18946c101f37dce9cfd6d3116ce92f1933ad5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <requires lib="gtk" version="4.0"/>
    <template class="DinoUiChatInputView">
        <property name="hexpand">True</property>
        <property name="orientation">vertical</property>
        <property name="margin-top">4</property>
        <child>
                    <object class="GtkBox" id="outer_box">
                        <property name="margin_start">14</property>
                        <property name="margin_end">14</property>
                        <style>
                            <class name="dino-chatinput"/>
                            <class name="card"/>
                            <class name="toolbar"/>
                            <class name="activatable"/>
                            <class name="compact-card-toolbar"/>
                        </style>
                        <child>
                            <object class="GtkButton" id="file_button">
                                <property name="icon-name">dino-mail-attachment-symbolic</property>
                                <property name="valign">start</property>
                                <style>
                                    <class name="flat"/>
                                    <class name="dino-chatinput-button"/>
                                    <class name="dino-attach-button"/>
                                    <class name="image-button"/>
                                </style>
                            </object>
                        </child>
                        <child>
                            <object class="GtkSeparator" id="file_separator">
                                <property name="orientation">vertical</property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkBox">
                                <property name="orientation">vertical</property>
                                <child>
                                    <object class="GtkBox" id="quote_box">
                                        <property name="margin-top">10</property>
                                        <property name="margin-start">10</property>
                                        <property name="margin-end">10</property>
                                        <property name="visible">False</property>
                                    </object>
                                </child>
                                <child>
                                    <object class="DinoUiChatTextView" id="chat_text_view">
                                        <property name="margin_start">7</property>
                                    </object>
                                </child>
                            </object>
                        </child>
                        <child>
                            <object class="GtkMenuButton" id="emoji_button">
                                <property name="icon-name">dino-emoji-people-symbolic</property>
                                <property name="has-frame">False</property>
                                <property name="valign">start</property>
                                <style>
                                    <class name="flat"/>
                                    <class name="dino-chatinput-button"/>
                                    <class name="image-button"/>
                                </style>
                            </object>
                        </child>
                        <child>
                            <object class="GtkMenuButton" id="encryption_button">
                                <property name="icon-name">dino-changes-allow-symbolic</property>
                                <property name="has-frame">False</property>
                                <property name="valign">start</property>
                                <style>
                                    <class name="flat"/>
                                    <class name="dino-chatinput-button"/>
                                    <class name="image-button"/>
                                </style>
                            </object>
                        </child>
                    </object>
        </child>
        <child>
            <object class="GtkLabel" id="chat_input_status">
                <property name="xalign">0</property>
                <property name="margin_bottom">3</property>
                <property name="margin_start">14</property>
                <property name="margin_end">14</property>
                <property name="wrap">True</property>
                <attributes>
                    <attribute name="scale" value="0.8"></attribute>
                </attributes>
                <style>
                    <class name="chat-input-status"/>
                </style>
            </object>
        </child>
    </template>
</interface>