Libadwaita: How could I put a icon and a label between title and expander arrow?

We have to put the status information between the title and expander arrow. A detailed example can be found below.

I had put icons and label on the expander using adw_expander_row_add_prefix() but all the elements cannot be formatted like the figure above.

Does anyone know how to put those elements into expander correctly or I have to add this new feature to AdwExpanderRow?

Thank you. :slight_smile:

There’s no way to do that, but that does seem like a fairly good use case, please open an issue. :slight_smile:

I shouldn’t reply when half asleep. adw_expander_row_get_action()/<child type="action">, I thought they were adding it after the arrow and not before.

adw_expander_row_add_action () seems work! I’ll test it more.

Thank you :yum:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.