ffacf70a4f
Adds a display of the user's offline/online status through red and green circles, respectively.
39 lines
1.5 KiB
XML
39 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<interface>
|
|
<requires lib="gtk" version="4.0"/>
|
|
<object class="GtkGrid" id="main_grid">
|
|
<property name="margin-top">3</property>
|
|
<property name="margin-start">7</property>
|
|
<property name="margin-bottom">3</property>
|
|
<property name="margin-end">7</property>
|
|
<property name="column-spacing">5</property>
|
|
<child>
|
|
<object class="DinoUiAvatarPicture" id="picture">
|
|
<property name="height-request">30</property>
|
|
<property name="width-request">30</property>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="name_label">
|
|
<property name="width-chars">20</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="ellipsize">end</property>
|
|
<property name="hexpand">1</property>
|
|
<property name="xalign">0</property>
|
|
<layout>
|
|
<property name="column">1</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="status_image">
|
|
<property name="pixel-size">12</property>
|
|
<layout>
|
|
<property name="column">2</property>
|
|
<property name="row">0</property>
|
|
</layout>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface> |