listview: Fix culling issues when using CSS padding
authorBenjamin Otte <otte@redhat.com>
Thu, 16 Mar 2023 20:27:35 +0000 (21:27 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Mar 2023 20:40:02 +0000 (21:40 +0100)
commita0382ef495a0945b5ba6c25336b860b550d329fb
tree844d920fbe91d860c6cc54fa59da85b56446ae84
parentef3c515cf1dde5d9ccaaa631a442111c7580abab
listview: Fix culling issues when using CSS padding

We were culling children based on the content box, but clipping via
overflow happens on the padding box, so we need to use that one instead.

Fixes issues with items not being visible / disappearing in Nautilus
when they are near the border.

Resolves #5380
gtk/gtklistbase.c