Elektrine lite

← Feed

@alice@mk.nyaa.place

Post #3434554

2026-03-09 03:01 UTC

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

Replies (1)

  • @alice@mk.nyaa.place 2026-03-14 01:32

    Alright, so back to this. Without a constraint layout, the only option I have is to write a custom layout for this. It's annoying because I'm still not sure if I want to go with this layout in the first place. It looks good but does it work well? I don't know But - I need to be able to restrct widget position/sizing for cases like this: (this is just edited in inspector, yes, but I'm sure we'll have edge cases like this)

    Open ##3434553