mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
constraints demo: Give space a name
Lets call it 'space'.
This commit is contained in:
parent
b39a5fe5dc
commit
5a019bfccd
@ -77,6 +77,7 @@ build_constraints (SimpleGrid *self,
|
||||
GtkConstraintGuide *guide;
|
||||
|
||||
guide = gtk_constraint_guide_new ();
|
||||
gtk_constraint_guide_set_name (guide, "space");
|
||||
gtk_constraint_guide_set_min_size (guide, 10, 10);
|
||||
gtk_constraint_guide_set_nat_size (guide, 100, 10);
|
||||
gtk_constraint_guide_set_max_size (guide, 200, 20);
|
||||
|
Loading…
Reference in New Issue
Block a user