GtkListBox .separators and the last row
The gtk4-demo ListBox/Controls uses a
.separators ListBox with a GtkFrame around it. The last row gets a
.separators and the GtkFrame border below. This looks not intentional.
I think that not only the demo should be fixed but there should be a nice solution for this design pattern, since it is quite common. Favorably without GtkFrame to support placeholder content without a frame.
LibHandy fixes this for it's
.content class by using
:last-child. However, this approach breaks if the ListBox has a placeholder. I would have fixed it using
:last-of-type but that's not available in gtk. (Uses of pseudo classes were removed anyways because they are expensive bfe5b0d1)