diff options
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> |
