diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-10-28 20:03:58 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-10-28 20:03:58 +0200 |
commit | d1be0945b23fc662875ff9505cb6054dbd1a1870 (patch) | |
tree | ed23aeb96260da42bbf3b2b41f21e2567e8533b4 /resources/ui/messenger.ui | |
parent | 184431dab83821d1a8cb01a2ad62e018276f2be5 (diff) | |
download | messenger-gtk-d1be0945b23fc662875ff9505cb6054dbd1a1870.tar.gz messenger-gtk-d1be0945b23fc662875ff9505cb6054dbd1a1870.zip |
Fixed leaflet scaling of the contacts
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'resources/ui/messenger.ui')
-rw-r--r-- | resources/ui/messenger.ui | 178 |
1 files changed, 123 insertions, 55 deletions
diff --git a/resources/ui/messenger.ui b/resources/ui/messenger.ui index 5a27891..65e77bb 100644 --- a/resources/ui/messenger.ui +++ b/resources/ui/messenger.ui | |||
@@ -27,10 +27,8 @@ Author: Tobias Frisch | |||
27 | <property name="can-focus">False</property> | 27 | <property name="can-focus">False</property> |
28 | <child> | 28 | <child> |
29 | <object class="HdyLeaflet" id="leaflet_chat"> | 29 | <object class="HdyLeaflet" id="leaflet_chat"> |
30 | <property name="height-request">600</property> | ||
31 | <property name="visible">True</property> | 30 | <property name="visible">True</property> |
32 | <property name="can-focus">False</property> | 31 | <property name="can-focus">False</property> |
33 | <property name="hexpand">True</property> | ||
34 | <property name="hhomogeneous-folded">False</property> | 32 | <property name="hhomogeneous-folded">False</property> |
35 | <property name="vhomogeneous-folded">False</property> | 33 | <property name="vhomogeneous-folded">False</property> |
36 | <child> | 34 | <child> |
@@ -43,6 +41,7 @@ Author: Tobias Frisch | |||
43 | <property name="width-request">300</property> | 41 | <property name="width-request">300</property> |
44 | <property name="visible">True</property> | 42 | <property name="visible">True</property> |
45 | <property name="can-focus">False</property> | 43 | <property name="can-focus">False</property> |
44 | <property name="reveal-flap">False</property> | ||
46 | <property name="fold-policy">always</property> | 45 | <property name="fold-policy">always</property> |
47 | <child type="content"> | 46 | <child type="content"> |
48 | <object class="GtkBox"> | 47 | <object class="GtkBox"> |
@@ -118,13 +117,11 @@ Author: Tobias Frisch | |||
118 | <object class="GtkListBoxRow"> | 117 | <object class="GtkListBoxRow"> |
119 | <property name="visible">True</property> | 118 | <property name="visible">True</property> |
120 | <property name="can-focus">True</property> | 119 | <property name="can-focus">True</property> |
121 | <property name="selectable">False</property> | ||
122 | <child> | 120 | <child> |
123 | <!-- n-columns=3 n-rows=2 --> | 121 | <object class="GtkBox"> |
124 | <object class="GtkGrid"> | ||
125 | <property name="visible">True</property> | 122 | <property name="visible">True</property> |
126 | <property name="can-focus">False</property> | 123 | <property name="can-focus">False</property> |
127 | <property name="column-spacing">8</property> | 124 | <property name="spacing">8</property> |
128 | <child> | 125 | <child> |
129 | <object class="HdyAvatar"> | 126 | <object class="HdyAvatar"> |
130 | <property name="visible">True</property> | 127 | <property name="visible">True</property> |
@@ -133,51 +130,81 @@ Author: Tobias Frisch | |||
133 | <property name="size">48</property> | 130 | <property name="size">48</property> |
134 | </object> | 131 | </object> |
135 | <packing> | 132 | <packing> |
136 | <property name="left-attach">0</property> | 133 | <property name="expand">False</property> |
137 | <property name="top-attach">0</property> | 134 | <property name="fill">True</property> |
138 | <property name="height">2</property> | 135 | <property name="position">0</property> |
139 | </packing> | ||
140 | </child> | ||
141 | <child> | ||
142 | <object class="GtkLabel"> | ||
143 | <property name="visible">True</property> | ||
144 | <property name="can-focus">False</property> | ||
145 | <property name="label" translatable="yes">11.12.13</property> | ||
146 | <property name="justify">right</property> | ||
147 | </object> | ||
148 | <packing> | ||
149 | <property name="left-attach">2</property> | ||
150 | <property name="top-attach">0</property> | ||
151 | </packing> | 136 | </packing> |
152 | </child> | 137 | </child> |
153 | <child> | 138 | <child> |
154 | <object class="GtkLabel"> | 139 | <object class="GtkBox"> |
155 | <property name="visible">True</property> | ||
156 | <property name="can-focus">False</property> | ||
157 | <property name="hexpand">True</property> | ||
158 | <property name="label" translatable="yes">Chat title</property> | ||
159 | <property name="ellipsize">end</property> | ||
160 | <property name="xalign">2.2351741291171123e-10</property> | ||
161 | </object> | ||
162 | <packing> | ||
163 | <property name="left-attach">1</property> | ||
164 | <property name="top-attach">0</property> | ||
165 | </packing> | ||
166 | </child> | ||
167 | <child> | ||
168 | <object class="GtkLabel"> | ||
169 | <property name="visible">True</property> | 140 | <property name="visible">True</property> |
170 | <property name="can-focus">False</property> | 141 | <property name="can-focus">False</property> |
171 | <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> | 142 | <property name="orientation">vertical</property> |
172 | <property name="ellipsize">end</property> | 143 | <property name="spacing">2</property> |
173 | <property name="single-line-mode">True</property> | 144 | <child> |
174 | <property name="max-width-chars">48</property> | 145 | <object class="GtkBox"> |
175 | <property name="xalign">0</property> | 146 | <property name="visible">True</property> |
147 | <property name="can-focus">False</property> | ||
148 | <property name="spacing">8</property> | ||
149 | <child> | ||
150 | <object class="GtkLabel"> | ||
151 | <property name="visible">True</property> | ||
152 | <property name="can-focus">False</property> | ||
153 | <property name="label" translatable="yes">Chat title</property> | ||
154 | <property name="wrap">True</property> | ||
155 | <property name="wrap-mode">word-char</property> | ||
156 | <property name="ellipsize">end</property> | ||
157 | <property name="xalign">2.2351741291171123e-10</property> | ||
158 | </object> | ||
159 | <packing> | ||
160 | <property name="expand">False</property> | ||
161 | <property name="fill">True</property> | ||
162 | <property name="position">0</property> | ||
163 | </packing> | ||
164 | </child> | ||
165 | <child> | ||
166 | <object class="GtkLabel"> | ||
167 | <property name="visible">True</property> | ||
168 | <property name="can-focus">False</property> | ||
169 | <property name="label" translatable="yes">11.12.13</property> | ||
170 | <property name="justify">right</property> | ||
171 | </object> | ||
172 | <packing> | ||
173 | <property name="expand">False</property> | ||
174 | <property name="fill">True</property> | ||
175 | <property name="pack-type">end</property> | ||
176 | <property name="position">1</property> | ||
177 | </packing> | ||
178 | </child> | ||
179 | </object> | ||
180 | <packing> | ||
181 | <property name="expand">False</property> | ||
182 | <property name="fill">True</property> | ||
183 | <property name="position">0</property> | ||
184 | </packing> | ||
185 | </child> | ||
186 | <child> | ||
187 | <object class="GtkLabel"> | ||
188 | <property name="visible">True</property> | ||
189 | <property name="can-focus">False</property> | ||
190 | <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> | ||
191 | <property name="wrap">True</property> | ||
192 | <property name="wrap-mode">word-char</property> | ||
193 | <property name="ellipsize">end</property> | ||
194 | <property name="max-width-chars">48</property> | ||
195 | <property name="xalign">0</property> | ||
196 | </object> | ||
197 | <packing> | ||
198 | <property name="expand">False</property> | ||
199 | <property name="fill">True</property> | ||
200 | <property name="position">1</property> | ||
201 | </packing> | ||
202 | </child> | ||
176 | </object> | 203 | </object> |
177 | <packing> | 204 | <packing> |
178 | <property name="left-attach">1</property> | 205 | <property name="expand">True</property> |
179 | <property name="top-attach">1</property> | 206 | <property name="fill">True</property> |
180 | <property name="width">2</property> | 207 | <property name="position">1</property> |
181 | </packing> | 208 | </packing> |
182 | </child> | 209 | </child> |
183 | <style> | 210 | <style> |
@@ -213,11 +240,11 @@ Author: Tobias Frisch | |||
213 | <property name="orientation">vertical</property> | 240 | <property name="orientation">vertical</property> |
214 | <child> | 241 | <child> |
215 | <object class="GtkBox"> | 242 | <object class="GtkBox"> |
243 | <property name="width-request">240</property> | ||
216 | <property name="visible">True</property> | 244 | <property name="visible">True</property> |
217 | <property name="can-focus">False</property> | 245 | <property name="can-focus">False</property> |
218 | <child> | 246 | <child> |
219 | <object class="GtkBox"> | 247 | <object class="GtkBox"> |
220 | <property name="width-request">150</property> | ||
221 | <property name="visible">True</property> | 248 | <property name="visible">True</property> |
222 | <property name="can-focus">False</property> | 249 | <property name="can-focus">False</property> |
223 | <property name="margin-start">16</property> | 250 | <property name="margin-start">16</property> |
@@ -227,15 +254,14 @@ Author: Tobias Frisch | |||
227 | <property name="orientation">vertical</property> | 254 | <property name="orientation">vertical</property> |
228 | <property name="spacing">16</property> | 255 | <property name="spacing">16</property> |
229 | <child> | 256 | <child> |
230 | <object class="GtkImage"> | 257 | <object class="HdyAvatar"> |
231 | <property name="visible">True</property> | 258 | <property name="visible">True</property> |
232 | <property name="can-focus">False</property> | 259 | <property name="can-focus">False</property> |
233 | <property name="xalign">0</property> | 260 | <property name="halign">start</property> |
234 | <property name="icon-name">avatar-default-symbolic</property> | 261 | <property name="size">64</property> |
235 | <property name="icon_size">6</property> | ||
236 | </object> | 262 | </object> |
237 | <packing> | 263 | <packing> |
238 | <property name="expand">True</property> | 264 | <property name="expand">False</property> |
239 | <property name="fill">True</property> | 265 | <property name="fill">True</property> |
240 | <property name="position">0</property> | 266 | <property name="position">0</property> |
241 | </packing> | 267 | </packing> |
@@ -337,8 +363,9 @@ Author: Tobias Frisch | |||
337 | </child> | 363 | </child> |
338 | </object> | 364 | </object> |
339 | <packing> | 365 | <packing> |
340 | <property name="expand">True</property> | 366 | <property name="expand">False</property> |
341 | <property name="fill">True</property> | 367 | <property name="fill">True</property> |
368 | <property name="pack-type">end</property> | ||
342 | <property name="position">1</property> | 369 | <property name="position">1</property> |
343 | </packing> | 370 | </packing> |
344 | </child> | 371 | </child> |
@@ -380,6 +407,51 @@ Author: Tobias Frisch | |||
380 | <object class="GtkListBox"> | 407 | <object class="GtkListBox"> |
381 | <property name="visible">True</property> | 408 | <property name="visible">True</property> |
382 | <property name="can-focus">False</property> | 409 | <property name="can-focus">False</property> |
410 | <property name="selection-mode">none</property> | ||
411 | <child> | ||
412 | <object class="GtkListBoxRow"> | ||
413 | <property name="visible">True</property> | ||
414 | <property name="can-focus">True</property> | ||
415 | <child> | ||
416 | <object class="GtkBox"> | ||
417 | <property name="visible">True</property> | ||
418 | <property name="can-focus">False</property> | ||
419 | <property name="spacing">8</property> | ||
420 | <child> | ||
421 | <object class="HdyAvatar"> | ||
422 | <property name="visible">True</property> | ||
423 | <property name="can-focus">False</property> | ||
424 | <property name="size">36</property> | ||
425 | </object> | ||
426 | <packing> | ||
427 | <property name="expand">False</property> | ||
428 | <property name="fill">True</property> | ||
429 | <property name="position">0</property> | ||
430 | </packing> | ||
431 | </child> | ||
432 | <child> | ||
433 | <object class="GtkLabel"> | ||
434 | <property name="visible">True</property> | ||
435 | <property name="can-focus">False</property> | ||
436 | <property name="label" translatable="yes">Name</property> | ||
437 | <property name="wrap">True</property> | ||
438 | <property name="wrap-mode">word-char</property> | ||
439 | <property name="ellipsize">end</property> | ||
440 | <property name="xalign">0</property> | ||
441 | </object> | ||
442 | <packing> | ||
443 | <property name="expand">True</property> | ||
444 | <property name="fill">True</property> | ||
445 | <property name="position">1</property> | ||
446 | </packing> | ||
447 | </child> | ||
448 | <style> | ||
449 | <class name="profile-entry"/> | ||
450 | </style> | ||
451 | </object> | ||
452 | </child> | ||
453 | </object> | ||
454 | </child> | ||
383 | </object> | 455 | </object> |
384 | </child> | 456 | </child> |
385 | </object> | 457 | </object> |
@@ -928,8 +1000,6 @@ Author: Tobias Frisch | |||
928 | <object class="GtkListBoxRow"> | 1000 | <object class="GtkListBoxRow"> |
929 | <property name="visible">True</property> | 1001 | <property name="visible">True</property> |
930 | <property name="can-focus">True</property> | 1002 | <property name="can-focus">True</property> |
931 | <property name="activatable">False</property> | ||
932 | <property name="selectable">False</property> | ||
933 | <child> | 1003 | <child> |
934 | <object class="GtkBox"> | 1004 | <object class="GtkBox"> |
935 | <property name="visible">True</property> | 1005 | <property name="visible">True</property> |
@@ -976,8 +1046,6 @@ Author: Tobias Frisch | |||
976 | <object class="GtkListBoxRow"> | 1046 | <object class="GtkListBoxRow"> |
977 | <property name="visible">True</property> | 1047 | <property name="visible">True</property> |
978 | <property name="can-focus">True</property> | 1048 | <property name="can-focus">True</property> |
979 | <property name="activatable">False</property> | ||
980 | <property name="selectable">False</property> | ||
981 | <child> | 1049 | <child> |
982 | <object class="GtkBox"> | 1050 | <object class="GtkBox"> |
983 | <property name="visible">True</property> | 1051 | <property name="visible">True</property> |