From 86a773536f9b31db1ac4cd6c74a4e4f790041d8f Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 19 May 2010 18:20:27 +0100 Subject: [PATCH] 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. --- tests/interactive/test-constraints.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interactive/test-constraints.c b/tests/interactive/test-constraints.c index 86f5d4d..5c0fd43 100644 --- a/tests/interactive/test-constraints.c +++ b/tests/interactive/test-constraints.c @@ -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 */ -- 2.7.4