diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-16 13:02:46 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-16 13:02:46 +0200 |
| commit | 44d2614a260d2b029a79c59ee7fdd45e1958feb8 (patch) | |
| tree | a39e043acf3b9f86f570b2b376d61dd3b5d68124 /res/widgets/participant_row.ui | |
| parent | 5bb826fa63b2b2d6f7b8bca354fa4a1606781dc3 (diff) | |
| download | turns-44d2614a260d2b029a79c59ee7fdd45e1958feb8.tar.xz turns-44d2614a260d2b029a79c59ee7fdd45e1958feb8.zip | |
app: extract turn order view
Diffstat (limited to 'res/widgets/participant_row.ui')
| -rw-r--r-- | res/widgets/participant_row.ui | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/res/widgets/participant_row.ui b/res/widgets/participant_row.ui index 683fbb6..7948eab 100644 --- a/res/widgets/participant_row.ui +++ b/res/widgets/participant_row.ui @@ -1,13 +1,11 @@ <?xml version='1.0' encoding='UTF-8'?> <!-- Created with Cambalache 0.90.4 --> <interface> - <!-- interface-name participant_list_item.ui --> <requires lib="gtk" version="4.14"/> <template class="gtkmm__CustomObject_participant_row" parent="GtkListBoxRow"> <property name="activatable">False</property> <property name="child"> <object class="GtkBox"> - <property name="css-classes">header</property> <child> <object class="GtkBox"> <child> @@ -33,7 +31,7 @@ <property name="valign">center</property> <child> <object class="GtkLabel" id="title"> - <property name="visible">False</property> + <property name="wrap-mode">word-char</property> <property name="xalign">0.0</property> <style> <class name="title"/> @@ -42,21 +40,13 @@ </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> - <!-- Custom object fragments --> - <property name="sensitive" bind-source="toggle_defeated" bind-property="active" bind-flags="sync-create|invert-boolean"/> </object> </child> - <style> - <class name="title"/> - </style> </object> </child> <child> @@ -65,8 +55,6 @@ <child> <object class="GtkButton" id="delete"> <property name="icon-name">edit-delete-symbolic</property> - <!-- Custom object fragments --> - <property name="sensitive" bind-source="toggle_defeated" bind-property="active" bind-flags="sync-create|invert-boolean"/> <property name="tooltip-text" translatable="yes">Delete participant</property> <style> <class name="circular"/> @@ -77,13 +65,10 @@ <child> <object class="GtkButton" id="edit"> <property name="icon-name">document-edit-symbolic</property> - <property name="tooltip-text" translatable="yes">Edit participant</property> <style> <class name="circular"/> <class name="suggested-action"/> </style> - <!-- Custom object fragments --> - <property name="sensitive" bind-source="toggle_defeated" bind-property="active" bind-flags="sync-create|invert-boolean"/> </object> </child> <style> @@ -91,9 +76,11 @@ </style> </object> </child> + <style> + <class name="header"/> + </style> </object> </property> <property name="valign">center</property> - <style/> </template> </interface> |
