mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
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:
parent
5d1b18669b
commit
86a773536f
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user