aboutsummaryrefslogtreecommitdiff
path: root/main/data/unified_main_content.ui
blob: f1294ab909921a22f8862ae6cf645da8fd2f1162 (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <requires lib="gtk" version="4.0"/>
    <object class="GtkPaned" id="paned">
        <property name="shrink-start-child">False</property>
        <property name="shrink-end-child">False</property>
        <property name="resize-start-child">False</property>
        <property name="position">300</property>
        <child>
            <object class="GtkBox" id="left_box">
                <property name="orientation">vertical</property>
                <child>
                    <object class="GtkStack" id="left_stack">
                        <property name="hexpand">False</property>
                        <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>
                                    </object>
                                </property>
                            </object>
                        </child>
                        <child>
                            <object class="GtkStackPage">
                                <property name="name">placeholder</property>
                                <property name="child">
                                    <object class="GtkBox">
                                        <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="spacing">10</property>
                                        <property name="valign">start</property>
                                        <property name="halign">start</property>
                                        <property name="width_request">260</property>
                                        <child>
                                            <object class="GtkImage" id="conversation_list_placeholder_image">
                                                <property name="valign">start</property>
                                                <style>
                                                    <class name="dim-label"/>
                                                </style>
                                            </object>
                                        </child>
                                        <child>
                                            <object class="GtkLabel">
                                                <property name="wrap">1</property>
                                                <property name="margin-top">70</property>
                                                <property name="margin-end">50</property>
                                                <property name="xalign">0</property>
                                                <property name="valign">end</property>
                                                <property name="max-width-chars">0</property>
                                                <property name="label" translatable="1">Click here to start a conversation or join a channel.</property>
                                                <style>
                                                    <class name="dim-label"/>
                                                </style>
                                            </object>
                                        </child>
                                    </object>
                                </property>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
        <child>
            <object class="GtkBox" id="right_box">
                <property name="orientation">vertical</property>
                <child>
                    <object class="GtkOverlay">
                        <property name="child">
                            <object class="GtkStack" id="right_stack">
                                <child>
                                    <object class="GtkStackPage">
                                        <property name="name">content</property>
                                        <property name="child">
                                            <object class="DinoUiConversationView" id="conversation_view">
                                            </object>
                                        </property>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkStackPage">
                                        <property name="name">placeholder</property>
                                        <property name="child">
                                            <object class="GtkBox">
                                                <property name="orientation">vertical</property>
                                                <property name="hexpand">1</property>
                                                <property name="vexpand">1</property>
                                                <property name="halign">center</property>
                                                <property name="valign">center</property>
                                                <child>
                                                    <object class="GtkImage">
                                                        <property name="icon-name">im.dino.Dino-symbolic</property>
                                                        <property name="pixel-size">144</property>
                                                        <property name="margin-bottom">30</property>
                                                        <style>
                                                            <class name="dim-label"/>
                                                        </style>
                                                    </object>
                                                </child>
                                                <child>
                                                    <object class="GtkLabel">
                                                        <property name="label" translatable="1">You have no open chats</property>
                                                        <style>
                                                            <class name="dim-label"/>
                                                        </style>
                                                        <attributes>
                                                            <attribute name="scale" value="1.2"></attribute>
                                                        </attributes>
                                                    </object>
                                                </child>
                                            </object>
                                        </property>
                                    </object>
                                </child>
                            </object>
                        </property>
                        <child type="overlay">
                            <object class="GtkRevealer" id="search_revealer">
                                <property name="halign">end</property>
                                <property name="transition-type">slide-left</property>
                                <style>
                                    <class name="dino-sidebar"/>
                                </style>
                                <property name="child">
                                    <object class="GtkFrame" id="search_frame">
                                        <property name="width-request">400</property>
                                    </object>
                                </property>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
    </object>
</interface>