Matthias Clasen
ab01713234
constraints demo: Set guide strength
...
This makes us prefer to give the space its natural width.
2019-06-29 14:19:41 +00:00
Matthias Clasen
0221c9443c
constraint guide: Make strength tweakable
...
The strength for the natural width can be used
as a tie-breaker to make instable systems behave
in a more predictable way. This can be seen
in the simple constraints demo in gtk-demo.
2019-06-29 14:19:16 +00:00
Matthias Clasen
895ffd5b7e
constraints demo: Update comments
2019-06-29 10:15:42 -04:00
Matthias Clasen
013c18040a
constraints demo: Give space a name
...
Lets call it 'space'.
2019-06-28 23:03:23 +00:00
Matthias Clasen
b0824a5784
demo: Use constraint guide api
...
Use proper api to create and set up
the guide, and also try max-width.
2019-06-28 13:00:19 +00:00
Matthias Clasen
12d45c01b0
Add an interactive constraints demo
2019-06-28 13:11:22 +01:00
Matthias Clasen
fc3f4aafe5
Make the constraints demo more interesting
...
Add a max size to the buttons, to force the
space to open up.
2019-06-28 13:11:22 +01:00
Matthias Clasen
ffd8b19a87
Add GtkConstraintGuide
...
This is meant to be a flexible space.
2019-06-28 13:11:22 +01:00
Emmanuele Bassi
124607d1e8
Add GtkConstraintLayout demo
2019-06-27 17:38:02 +01:00