GtkListItemWidget wrapper cannot be configured

Hi, I’m currently switching my app from using static widgets (FlowBox and ListBox) to dynamic ones (ListView and GridView). But I’ve encountered sudden error (or whatever it is). Items in GridView are wrapped to some GtkListItemWidget objects taking too much space compared to FlowBox. But trying to obtain these widgets to configure their properties causing the 139 (SIGSEGV) critical error. Maybe someone knows the way to make GridView items look like FlowBox items?

UPD:
GridView just arranges items differently than FlowBox. FlowBox keeps layout the same until there’s enough space to add a new column. GridView on the other side changes the layout to fill the maximum available width. Like Jetpack Compose’s Arrangement. FlowBox is using center arrangement and GridView uses SpaceAround

list_item_widget

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