Tooth/data/ui/widgets/list_editor_item.ui
Evangelos Paterakis 228c2c952b
fix: pack icons in gresource
tooth no longer depends on system icons
fixes #9
2022-11-21 03:52:40 +02:00

72 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="ToothDialogsListEditorItem" parent="GtkListBoxRow">
<property name="activatable">0</property>
<property name="child">
<object class="GtkGrid">
<property name="visible">0</property>
<property name="margin_start">8</property>
<property name="margin_end">8</property>
<property name="margin_top">8</property>
<property name="margin_bottom">8</property>
<property name="row_spacing">8</property>
<property name="column_spacing">8</property>
<child>
<object class="ToothWidgetsRichLabel" id="label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="label">Display Name</property>
<property name="ellipsize">end</property>
<property name="xalign">0</property>
<attributes>
<attribute name="weight" value="bold"></attribute>
</attributes>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="ToothWidgetsRichLabel" id="handle">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="label">@handle</property>
<property name="xalign">0</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkToggleButton" id="status">
<property name="visible">0</property>
<property name="width_request">32</property>
<property name="height_request">32</property>
<property name="sensitive">0</property>
<property name="receives_default">1</property>
<signal name="toggled" handler="on_toggled" swapped="no"/>
<child>
<object class="GtkImage">
<property name="visible">0</property>
<property name="icon_name">tooth-check-round-outline-symbolic</property>
</object>
</child>
<style>
<class name="flat"/>
</style>
<layout>
<property name="column">1</property>
<property name="row">0</property>
<property name="row-span">2</property>
</layout>
</object>
</child>
</object>
</property>
</template>
</interface>