Fun stuff: GtkConstraintLayout, the equivalent of Apple's AutoLayout and Android's ConstraintLayout, has landed in GTK's master branch, and will be available in the next major release: https://gitlab.gnome.org/GNOME/gtk/merge_requests/973
There's going to be a blog post on the #GTK development blog soon.
Started working on it in late 2016, as a separate library for GTK 3, to be used by Endless for their applications. After writing the layout manager delegate class, I've spent the last 3 months cleaning up the solver and the various moving pieces; with the help of Matthias Clasen, we finally got it merged today, with a lot more features.
Of course, constraint layouts have a cost. Specialised, finely tuned layout managers beat general purpose ones. If you're shoving 100s of rows in a list box, you probably want to keep using the GtkListBox widget; but if you have a form view, or a complex UI with a known set of widgets, do give constraints a try, and you can avoid lots of nested boxes and messing around with alignment and expansion flags
@ebassi It seems like you've been working on this for a really long time! Congratulations on landing it!
@federicomena started out of tree 3 years ago; if I don’t have to read another Cassowary implementation for the rest of my life, I’ll die a happy man
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!