Apply the rich-list css class to the listview in GTK 4

Here how GTK 4 ListView looks with rich-list class applied

Is there a way to make it look like a ListBox with rich-list?
ListView has no performance limitations so for files I would like to use it instead of ListBox.
Or make them look something like this:

rich-list is:

.rich-list { /* rich lists usually containing other widgets than just labels/text */
  & > row {
    padding: 8px 12px;
    min-height: 32px; /* should be tall even when only containing a label */

    & > box {
      border-spacing: 12px;

So the screenshot makes sense to me.

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