[libadwaita] How could I hide the arrow in a ExpanderRow

How could I hide the arrow in AdwExpanderRow?
I would like to hide this arrow when the expaderRow is disabled for the expansion. I also want to hide the arrow to prevent confusing the user.

Could folks know the solution to this?

Thank you :slight_smile:

I don’t think it is currently possible if you use AdwExpanderRow directly. You could recreate your own version of an ExpanderRow by inheriting from AdwActionRow but you may need to understand how AdwExpanderRow actually works behind the scenes to do that.

Inheriting from *AdwPreferencesRow. AdwActionRow doesn’t support massive changes to the row content, but AdwPreferencesRow is “abstract” in that you control all of the content. I do recommend taking a look at the AdwExpanderRow code to help you figure out how to set it up.

1 Like

Thank you, folks.

I would try those methods and find some alternative ways to resolve it. :slight_smile:

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