| ▲ | LoganDark 2 hours ago | |||||||
I would be interested in something like Apple's constraint layout system. Nested flexboxes and grids can do a lot, but I kinda fell in love after seeing constraint layout. Even how window resizing is represented as a constraint with a certain priority too! | ||||||||
| ▲ | fschuett an hour ago | parent | next [-] | |||||||
https://github.com/dylanede/cassowary-rs but it's not that great on performance once you have like 1000+ constraints (used that library last in 2018 / 2019? maybe it has improved). I think https://github.com/christolliday/limn used it way back then. | ||||||||
| ||||||||
| ▲ | scoopr an hour ago | parent | prev | next [-] | |||||||
I believe there are several crates (and other languages too) inspired by the original cassowary paper, don't know how mature they are though. | ||||||||
| ▲ | nxc18 35 minutes ago | parent | prev [-] | |||||||
Came here to say the same thing. I feel like I’ve done my homework on CSS grid and CSS flex but no matter how much I use it, it will likely never become intuitive. Autolayout was love at first sight, and continued being a joy to use as long as I had the privilege of using it. I know the CSS people were painted into a box by legacy, but the design of both grid and flex honestly seem like the products of uniquely deranged minds. Unfathomable. Something like WPF’s grid is just as powerful as CSS grid but it doesn’t give you a mental disorder trying to understand it. | ||||||||
| ||||||||