Set the stage resizable in test-constraints

To demonstrate that constraints can be used to reposition actors in a
resizable stage, set the :user-resizable property to TRUE, and spend the
next 15 minutes playing with the stage size.
This commit is contained in:
Emmanuele Bassi 2010-05-19 18:20:27 +01:00
parent 5d1b18669b
commit 86a773536f

View File

@ -126,6 +126,7 @@ test_constraints_main (int argc, char *argv[])
stage = clutter_stage_new ();
g_signal_connect (stage, "destroy", G_CALLBACK (clutter_main_quit), NULL);
clutter_stage_set_title (CLUTTER_STAGE (stage), "Constraints");
clutter_stage_set_user_resizable (CLUTTER_STAGE (stage), TRUE);
clutter_actor_set_size (stage, 800, 600);
/* main rect */