diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-13 14:43:05 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-13 14:43:05 +0200 |
| commit | 8de5772eb3acd5ba6e4380b2bcb7b5e829b3f9f4 (patch) | |
| tree | 71c6ff897430fe7ed22bb2d3335e82cc23da343b /res/widgets/participant_list_row.ui | |
| parent | 2b3fc8f53de9d0d547e4e5b7900c7257bdd1be1a (diff) | |
| download | turns-8de5772eb3acd5ba6e4380b2bcb7b5e829b3f9f4.tar.xz turns-8de5772eb3acd5ba6e4380b2bcb7b5e829b3f9f4.zip | |
app/ui: add basic participant list row
Diffstat (limited to 'res/widgets/participant_list_row.ui')
| -rw-r--r-- | res/widgets/participant_list_row.ui | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/res/widgets/participant_list_row.ui b/res/widgets/participant_list_row.ui new file mode 100644 index 0000000..66506c8 --- /dev/null +++ b/res/widgets/participant_list_row.ui @@ -0,0 +1,81 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!-- Created with Cambalache 0.90.4 --> +<!--Adapted from: https://gitlab.gnome.org/GNOME/libadwaita--> +<interface> + <!-- interface-name participant_list_item.ui --> + <requires lib="gtk" version="4.14"/> + <template class="gtkmm__CustomObject_participant_list_row" parent="GtkListBoxRow"> + <property name="child"> + <object class="GtkBox" id="header"> + <property name="css-classes">header</property> + <child> + <object class="GtkBox" id="prefixes"> + <property name="visible">False</property> + <style> + <class name="prefixes"/> + </style> + </object> + </child> + <child> + <object class="GtkImage" id="image"> + <property name="icon-name">face-smile</property> + <property name="valign">center</property> + <property name="visible">False</property> + <style> + <class name="icon"/> + </style> + </object> + </child> + <child> + <object class="GtkBox" id="title_box"> + <property name="hexpand">True</property> + <property name="orientation">vertical</property> + <property name="valign">center</property> + <child> + <object class="GtkLabel" id="title"> + <property name="lines">0</property> + <property name="visible">False</property> + <property name="wrap">True</property> + <property name="wrap-mode">word-char</property> + <property name="xalign">0.0</property> + <style> + <class name="title"/> + </style> + </object> + </child> + <child> + <object class="GtkLabel" id="subtitle"> + <property name="lines">0</property> + <property name="visible">False</property> + <property name="wrap">True</property> + <property name="wrap-mode">word-char</property> + <property name="xalign">0.0</property> + <style> + <class name="subtitle"/> + </style> + </object> + </child> + <style> + <class name="title"/> + </style> + </object> + </child> + <child> + <object class="GtkBox" id="suffixes"> + <property name="valign">center</property> + <child> + <object class="GtkSwitch"/> + </child> + <style> + <class name="suffixes"/> + </style> + </object> + </child> + </object> + </property> + <property name="valign">center</property> + <style> + <class name="view"/> + </style> + </template> +</interface> |
