aboutsummaryrefslogtreecommitdiff
path: root/main/data/conversation_item_widget.ui
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-02-14 14:55:59 +0100
committerfiaxh <git@lightrise.org>2022-07-27 20:34:20 +0200
commit7e7dcedaf31ee35499875491c9f569c575d28435 (patch)
tree0c5fee2b28baf320775fbc92b3c252e97d9d054f /main/data/conversation_item_widget.ui
parentf25bfb00969a7e09996da2d5500e6718f4cc0148 (diff)
downloaddino-7e7dcedaf31ee35499875491c9f569c575d28435.tar.gz
dino-7e7dcedaf31ee35499875491c9f569c575d28435.zip
Port from GTK3 to GTK4
Diffstat (limited to 'main/data/conversation_item_widget.ui')
-rw-r--r--main/data/conversation_item_widget.ui73
1 files changed, 73 insertions, 0 deletions
diff --git a/main/data/conversation_item_widget.ui b/main/data/conversation_item_widget.ui
new file mode 100644
index 00000000..e796006e
--- /dev/null
+++ b/main/data/conversation_item_widget.ui
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<interface>
+ <requires lib="gtk" version="4.0"/>
+ <object class="GtkGrid" id="main_grid">
+ <property name="column-spacing">7</property>
+ <property name="row-spacing">2</property>
+ <child>
+ <object class="DinoUiAvatarImage" id="avatar_image">
+ <property name="height">35</property>
+ <property name="width">35</property>
+ <property name="valign">start</property>
+ <property name="margin-top">2</property>
+ <layout>
+ <property name="column">0</property>
+ <property name="row">0</property>
+ <property name="row-span">2</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="name_label">
+ <property name="ellipsize">end</property>
+ <property name="xalign">0</property>
+ <property name="valign">baseline</property>
+ <attributes>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+ </attributes>
+ <layout>
+ <property name="column">1</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="time_label">
+ <property name="xalign">0</property>
+ <property name="valign">baseline</property>
+ <attributes>
+ <attribute name="scale" value="0.8"/>
+ </attributes>
+ <style>
+ <class name="dim-label"/>
+ </style>
+ <layout>
+ <property name="column">2</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage" id="encrypted_image">
+ <property name="opacity">0.4</property>
+ <property name="pixel-size">14</property>
+ <layout>
+ <property name="column">3</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
+ <child>
+ <object class="GtkImage" id="marked_image">
+ <property name="opacity">0.4</property>
+ <property name="pixel-size">14</property>
+ <property name="halign">start</property>
+ <property name="hexpand">True</property>
+ <layout>
+ <property name="column">4</property>
+ <property name="row">0</property>
+ </layout>
+ </object>
+ </child>
+ </object>
+</interface> \ No newline at end of file