Post #3434555
2026-03-09 00:54 UTC
Tried to use constraint layout, nope - it does not work here.
Maybe some day I'll find a use case where it can actually work, but not this time
Replies (1)
-
@alice@mk.nyaa.place 2026-03-09 03:01
Ah right, i didn’t describe why it doesn’t work. To put it simply - it doesn’t allow to use widgets’ natural sizes, you have to hardcode them, or if you don’t, it will use minimum size or stretch widgets if there are constraints for both left and right edge And since i have a bunch of labels in each section, and the sections can have arbitrary contents in there, no natural size is a complete dealbreaker It’s also pretty hard to work with, i had to unearth an old gtk4-constraints-editor, and it doesn’t support VFL - so it was just about an hour of trial and error, then i gave up and asked the author