fractal/data/resources/ui/content-message-row.ui

51 lines
1.7 KiB
Text
Raw Normal View History

2021-04-27 11:03:58 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="ContentMessageRow" parent="AdwBin">
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<child>
<object class="AdwAvatar" id="avatar">
<property name="show-initials">True</property>
<property name="size">24</property>
<property name="text" bind-source="display_name" bind-property="label" bind-flags="sync-create"/>
</object>
</child>
<child>
<object class="GtkBox">
<property name="spacing">6</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkBox" id="header">
<property name="spacing">6</property>
<child>
<object class="GtkLabel" id="display_name">
<property name="ellipsize">end</property>
<property name="selectable">True</property>
<style>
<class name="displayname"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkLabel" id="timestamp">
<style>
<class name="timestamp"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="AdwBin" id="content">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>