.placeholder style class for AdwActionRow
Similar to the .property
style class, AdwActionRows could have a .placeholder
style class so the row would look as a placeholder, with the label centralized and dimmed. Currently, to make a placeholder row, this code is necessary:
<child type="placeholder">
<object class="GtkLabel">
<property name="margin-start">18</property>
<property name="margin-end">18</property>
<property name="margin-top">18</property>
<property name="margin-bottom">18</property>
<property name="label" translatable="yes">No custom search locations</property>
<property name="wrap">true</property>
<property name="max-width-chars">50</property>
<style>
<class name="dim-label" />
</style>
</object>
</child>
Having to set margins can also lead to inconsistencies in different apps, so it would be great to have a standard placeholder row.
Edited by Automeris naranja