fractal/data/resources/ui/content-message-row.ui
Christopher Davis db2e533ecd content-message-row.ui: Remove displayname style, use adw styling
Remove the custom display name style and instead use
libadwaita's "heading" and "accent" styles to set the right styling and colors.
2021-06-23 14:21:42 -07:00

58 lines
2 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="ContentMessageRow" parent="AdwBin">
<child>
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="ComponentsAvatar" id="avatar">
<property name="size">36</property>
<property name="valign">start</property>
</object>
</child>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkBox" id="header">
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="display_name">
<property name="hexpand">true</property>
<property name="halign">start</property>
<property name="ellipsize">end</property>
<property name="selectable">True</property>
<style>
<class name="heading"/>
<class name="accent"/>
</style>
</object>
</child>
<child type="end">
<object class="GtkLabel" id="timestamp">
<style>
<class name="heading"/>
<class name="timestamp"/>
<class name="dim-label"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="AdwBin" id="content">
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<style>
<class name="event-content"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>