aboutsummaryrefslogtreecommitdiff
path: root/main/data/add_conversation
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2024-06-21 14:09:44 +0200
committerfiaxh <git@lightrise.org>2024-06-21 14:09:44 +0200
commit8b15417e0f6e90ef510ee70df7d32dbb7ce79393 (patch)
treed8d649e35106cc863d9e3ddedd24de22f0d47fec /main/data/add_conversation
parent00188bdf9bd91de34060eed195c9fd7a04c8871f (diff)
downloaddino-8b15417e0f6e90ef510ee70df7d32dbb7ce79393.tar.gz
dino-8b15417e0f6e90ef510ee70df7d32dbb7ce79393.zip
Start chat: Adjust status icon position, prioritize statuses, update status
Diffstat (limited to 'main/data/add_conversation')
-rw-r--r--main/data/add_conversation/list_row.ui55
1 files changed, 23 insertions, 32 deletions
diff --git a/main/data/add_conversation/list_row.ui b/main/data/add_conversation/list_row.ui
index d829dc3a..e7dc62eb 100644
--- a/main/data/add_conversation/list_row.ui
+++ b/main/data/add_conversation/list_row.ui
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
- <object class="GtkGrid" id="outer_grid">
- <property name="margin-start">3</property>
- <property name="margin-end">3</property>
- <property name="margin-top">3</property>
- <property name="margin-bottom">3</property>
- <property name="column-spacing">10</property>
+ <object class="GtkBox" id="outer_box">
+ <property name="orientation">horizontal</property>
+ <property name="spacing">8</property>
+ <property name="margin-start">6</property>
+ <property name="margin-end">6</property>
+ <property name="margin-top">6</property>
+ <property name="margin-bottom">6</property>
<child>
<object class="DinoUiAvatarPicture" id="picture">
<property name="height-request">30</property>
@@ -15,43 +16,33 @@
</object>
</child>
<child>
- <object class="GtkImage" id="status_dot">
- <property name="pixel-size">10</property>
- <layout>
- <property name="column">1</property>
- <property name="row">0</property>
- </layout>
- </object>
- </child>
- <child>
- <object class="GtkGrid">
- <property name="valign">center</property>
+ <object class="GtkBox">
<property name="orientation">vertical</property>
+ <property name="valign">center</property>
<child>
- <object class="GtkLabel" id="name_label">
- <property name="max_width_chars">1</property>
- <property name="ellipsize">end</property>
- <property name="hexpand">1</property>
- <property name="xalign">0</property>
- <layout>
- <property name="column">0</property>
- <property name="row">0</property>
- </layout>
+ <object class="GtkBox">
+ <property name="orientation">horizontal</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="name_label">
+ <property name="ellipsize">end</property>
+ <property name="xalign">0</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage" id="status_dot">
+ <property name="pixel-size">8</property>
+ </object>
+ </child>
</object>
</child>
<child>
<object class="GtkLabel" id="via_label">
- <property name="max_width_chars">1</property>
<property name="ellipsize">end</property>
- <property name="hexpand">1</property>
<property name="xalign">0</property>
<attributes>
<attribute name="scale" value="0.8"></attribute>
</attributes>
- <layout>
- <property name="column">0</property>
- <property name="row">1</property>
- </layout>
</object>
</child>
</object>