ActionRow multi-line subtitle does not affect natural height
Hej! Setting the subtitle-line
property of ActionRow does not seem to affect it's natural height:
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="AdwBin">
<property name="vexpand">true</property>
<child>
<object class="GtkBox">
<property name="overflow">hidden</property>
<property name="valign">start</property>
<style>
<class name="card"/>
<class name="scrollable-container"/>
</style>
<child>
<object class="GtkScrolledWindow">
<property name="propagate-natural-height">true</property>
<property name="child">
<object class="GtkListBox" id="software_list">
<property name="hexpand">true</property>
<property name="valign">start</property>
<style>
<class name="boxed-list"/>
</style>
<child>
<object class="AdwActionRow">
<property name="title">Title</property>
<property name="subtitle">A rather long subtitle that causes there to be line breaks. This causes unexpected scrolling despite the ScrolledWindow being set to propagate the natural height.</property>
<property name="subtitle-lines">3</property>
</object>
</child>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</interface>
What I would expect to happen is that the scrolled window propagates the full height that the ActionRow actually has and thus scrolling only to be necessary when the outter box is restrained.