listview: respect margins when hiding widgets

Yuri Izmer requested to merge yuraiz/gtk:listbase-margins into main

When overflow is visible check for margins to not hide widgets too early

That will allow to use semi-transparent toolbars while using listviews

Current behavior at the left and with the fix at the right (overflow: visible, widget top and bottom margins: 50)

Screencast_from_2023-06-07_15-06-05 Screencast_from_2023-06-07_14-56-32

Merge request reports