aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_row.ui
blob: c59ab8e0670bb062f018c112fd80b68204e9c3a5 (plain) (blame)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <template class="DinoUiConversationSelectorRow">
        <child>
            <object class="GtkRevealer" id="main_revealer">
                <property name="transition-type">slide-down</property>
                <property name="transition-duration">200</property>
                <property name="reveal-child">True</property>
                <child>
                    <object class="GtkBox">
                        <property name="orientation">horizontal</property>
                        <property name="margin-top">10</property>
                        <property name="margin-bottom">10</property>
                        <property name="margin-start">7</property>
                        <property name="margin-end">14</property>
                        <child>
                            <object class="DinoUiAvatarPicture" id="picture">
                                <property name="height-request">35</property>
                                <property name="width-request">35</property>
                                <property name="valign">center</property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkBox">
                                <property name="margin-start">10</property>
                                <property name="orientation">vertical</property>
                                <child>
                                    <object class="GtkBox">
                                        <property name="valign">start</property>
                                        <property name="orientation">horizontal</property>
                                        <child>
                                            <object class="GtkLabel" id="name_label">
                                                <property name="max_width_chars">1</property>
                                                <property name="ellipsize">end</property>
                                                <property name="hexpand">True</property>
                                                <property name="margin-end">7</property>
                                                <property name="xalign">0</property>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkLabel" id="time_label">
                                                <property name="hexpand">False</property>
                                                <property name="xalign">1</property>
                                                <attributes>
                                                    <attribute name="scale" value="0.7"/>
                                                </attributes>
                                            </object>
                                        </child>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkBox">
                                        <property name="valign">end</property>
                                        <property name="orientation">horizontal</property>
                                        <child>
                                            <object class="GtkLabel" id="nick_label">
                                                <property name="max_width_chars">15</property>
                                                <property name="ellipsize">end</property>
                                                <property name="valign">end</property>
                                                <property name="xalign">0</property>
                                                <style>
                                                    <class name="dim-label"/>
                                                </style>
                                                <attributes>
                                                    <!--<attribute name="weight" value="bold"/>-->
                                                    <attribute name="scale" value="0.8"/>
                                                </attributes>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkLabel" id="message_label">
                                                <property name="max_width_chars">1</property>
                                                <property name="ellipsize">end</property>
                                                <property name="hexpand">True</property>
                                                <property name="vexpand">True</property>
                                                <property name="valign">end</property>
                                                <property name="xalign">0</property>
                                                <attributes>
                                                    <attribute name="scale" value="0.8"/>
                                                </attributes>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkBox">
                                                <property name="orientation">horizontal</property>
                                                <property name="margin-start">15</property>
                                                <property name="spacing">6</property>
                                                <child>
                                                    <object class="GtkLabel" id="unread_count_label">
                                                        <property name="vexpand">False</property>
                                                        <property name="visible">False</property>
                                                        <property name="xalign">0.5</property>
                                                        <attributes>
                                                            <attribute name="scale" value="0.6"/>
                                                            <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
                                                        </attributes>
                                                    </object>
                                                </child>
                                                <child>
                                                    <object class="GtkImage" id="pinned_image">
                                                        <property name="icon-name">view-pin-symbolic</property>
                                                        <property name="pixel-size">12</property>
                                                        <property name="visible">False</property>
                                                    </object>
                                                </child>
                                            </object>
                                        </child>
                                    </object>
                                </child>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
    </template>
</interface>