diff options
Diffstat (limited to 'resources/ui/chat_entry.ui')
-rw-r--r-- | resources/ui/chat_entry.ui | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/resources/ui/chat_entry.ui b/resources/ui/chat_entry.ui new file mode 100644 index 0000000..cb80132 --- /dev/null +++ b/resources/ui/chat_entry.ui | |||
@@ -0,0 +1,119 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!-- Generated with glade 3.38.2 | ||
3 | |||
4 | Copyright (C) 2021 GNUnet e.V. | ||
5 | |||
6 | GNUnet is free software: you can redistribute it and/or modify it | ||
7 | under the terms of the GNU Affero General Public License as published | ||
8 | by the Free Software Foundation, either version 3 of the License, | ||
9 | or (at your option) any later version. | ||
10 | |||
11 | GNUnet is distributed in the hope that it will be useful, but | ||
12 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | Affero General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU Affero General Public License | ||
17 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
18 | |||
19 | SPDX-License-Identifier: AGPL3.0-or-later | ||
20 | Author: Tobias Frisch | ||
21 | |||
22 | --> | ||
23 | <interface> | ||
24 | <requires lib="gtk+" version="3.24"/> | ||
25 | <requires lib="libhandy" version="1.2"/> | ||
26 | <object class="GtkBox" id="entry_box"> | ||
27 | <property name="visible">True</property> | ||
28 | <property name="can-focus">False</property> | ||
29 | <property name="spacing">8</property> | ||
30 | <child> | ||
31 | <object class="HdyAvatar"> | ||
32 | <property name="visible">True</property> | ||
33 | <property name="can-focus">False</property> | ||
34 | <property name="size">48</property> | ||
35 | </object> | ||
36 | <packing> | ||
37 | <property name="expand">False</property> | ||
38 | <property name="fill">True</property> | ||
39 | <property name="position">0</property> | ||
40 | </packing> | ||
41 | </child> | ||
42 | <child> | ||
43 | <object class="GtkBox"> | ||
44 | <property name="visible">True</property> | ||
45 | <property name="can-focus">False</property> | ||
46 | <property name="orientation">vertical</property> | ||
47 | <property name="spacing">2</property> | ||
48 | <child> | ||
49 | <object class="GtkBox"> | ||
50 | <property name="visible">True</property> | ||
51 | <property name="can-focus">False</property> | ||
52 | <property name="spacing">8</property> | ||
53 | <child> | ||
54 | <object class="GtkLabel"> | ||
55 | <property name="visible">True</property> | ||
56 | <property name="can-focus">False</property> | ||
57 | <property name="label" translatable="yes">Chat title</property> | ||
58 | <property name="wrap">True</property> | ||
59 | <property name="wrap-mode">word-char</property> | ||
60 | <property name="ellipsize">end</property> | ||
61 | <property name="xalign">0</property> | ||
62 | </object> | ||
63 | <packing> | ||
64 | <property name="expand">False</property> | ||
65 | <property name="fill">True</property> | ||
66 | <property name="position">0</property> | ||
67 | </packing> | ||
68 | </child> | ||
69 | <child> | ||
70 | <object class="GtkLabel"> | ||
71 | <property name="visible">True</property> | ||
72 | <property name="can-focus">False</property> | ||
73 | <property name="label" translatable="yes">11.12.13</property> | ||
74 | <property name="justify">right</property> | ||
75 | </object> | ||
76 | <packing> | ||
77 | <property name="expand">False</property> | ||
78 | <property name="fill">True</property> | ||
79 | <property name="pack-type">end</property> | ||
80 | <property name="position">1</property> | ||
81 | </packing> | ||
82 | </child> | ||
83 | </object> | ||
84 | <packing> | ||
85 | <property name="expand">False</property> | ||
86 | <property name="fill">True</property> | ||
87 | <property name="position">0</property> | ||
88 | </packing> | ||
89 | </child> | ||
90 | <child> | ||
91 | <object class="GtkLabel"> | ||
92 | <property name="visible">True</property> | ||
93 | <property name="can-focus">False</property> | ||
94 | <property name="label" translatable="yes">My evil comment text is awesome! This is coming to the Pinephone which will be extremely awesome and this text may only cut some borders in certain areas!!!</property> | ||
95 | <property name="wrap">True</property> | ||
96 | <property name="wrap-mode">word-char</property> | ||
97 | <property name="ellipsize">end</property> | ||
98 | <property name="max-width-chars">48</property> | ||
99 | <property name="xalign">0</property> | ||
100 | </object> | ||
101 | <packing> | ||
102 | <property name="expand">True</property> | ||
103 | <property name="fill">True</property> | ||
104 | <property name="position">1</property> | ||
105 | </packing> | ||
106 | </child> | ||
107 | </object> | ||
108 | <packing> | ||
109 | <property name="expand">True</property> | ||
110 | <property name="fill">True</property> | ||
111 | <property name="pack-type">end</property> | ||
112 | <property name="position">1</property> | ||
113 | </packing> | ||
114 | </child> | ||
115 | <style> | ||
116 | <class name="chat-entry"/> | ||
117 | </style> | ||
118 | </object> | ||
119 | </interface> | ||