Hello,
This is a follow-up of this topic.
I’m still really struggling to understand how wrappable labels work. In a GtkListView, extra space is allocated in case the window shrinks, but isn’t in a GtkListBox.
When calling get_request_mode()
on the label, I can see that it is GTK_SIZE_REQUEST_CONSTANT_SIZE
in the GtkListView and GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH
in the GtkListBox.
What makes GtkListView and GtkListBox behave differently? How can I get the same behavior in GtkListView?