constraints demo: Give space a name

Lets call it 'space'.
This commit is contained in:
Matthias Clasen 2019-06-28 22:54:28 +00:00 committed by Emmanuele Bassi
parent b39a5fe5dc
commit 5a019bfccd

View File

@ -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);