emeus
emeus copied to clipboard
Constraint-based layout manager for GTK+
With this input ``` H:|-[view0(view2)]-[view2]-| H:|-[view1(view3)]-[view3]-| H:[view4(view3)]-| V:|-[view0(view1)]-[view1]-| V:|-[view2(view3,view4)]-[view3]-[view4]-| ``` I get  ### Info Distro: [Arch Linux](https://aur.archlinux.org/emeus) Version: 1.0+5d38cc3
I have a working system of constraints that generates the expected layout, but in a small window. Now I'm adding constraints super.width
add_layout_stays has a comment that says: /* Add two required stay constraints for the top left corner */ but looking at the code: 1) it also creates stay constraints for...
get_layout_attribute sets up internal constraints to tie together the various attributes, but while the relations for center-x and center-y are created with required strength, right and bottom are only defined...
When i close the simple-grid example, I get: $ valgrind ./build/examples/simple-grid ==28422== Memcheck, a memory error detector ==28422== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==28422==...
This goto was jumping over a ref without skipping the corresponding unref. Sadly, fixing this does not make the segfault go away yet.
In the middle of simplex_solver_remove_constraint, I see: no_columns: if (g_hash_table_lookup (solver->rows, marker) != NULL) simplex_solver_remove_row (solver, marker, TRUE); else variable_unref (marker); But I can't find a corresponding ref that the...
I have: EmeusConstraintLayout --> GtkGrid --> EmeusConstraintLayout Under this setup, widgets (specifically, GtkLabels) added to the inner EmeusConstraintLayout are not arranged properly - indeed they seem to not show up...
I have a frame as a child of a constraint layout. If I try to add a Gtk.Image to that frame, then I often (4 times out of 5) get...
I've been experimenting with translating some examples from Apple's autolayout code to Emeus. Here is my translation of http://commandshift.co.uk/blog/2013/01/31/visual-format-language-for-autolayout/, as a gist: https://gist.github.com/ptomato/4f43834abc431705f515985fd8b53fcf (To run it, download the two files...