mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
interactive/actor: Use a BoxLayout
As it was intended.
This commit is contained in:
parent
f854619bc9
commit
c44ffb02f5
@ -43,7 +43,7 @@ test_actor_main (int argc, char *argv[])
|
|||||||
/* there are three flowers in a vase */
|
/* there are three flowers in a vase */
|
||||||
vase = clutter_actor_new ();
|
vase = clutter_actor_new ();
|
||||||
clutter_actor_set_name (vase, "vase");
|
clutter_actor_set_name (vase, "vase");
|
||||||
clutter_actor_set_layout_manager (vase, clutter_flow_layout_new (CLUTTER_FLOW_HORIZONTAL));
|
clutter_actor_set_layout_manager (vase, clutter_box_layout_new ());
|
||||||
clutter_actor_set_margin_top (vase, 18);
|
clutter_actor_set_margin_top (vase, 18);
|
||||||
clutter_actor_set_margin_bottom (vase, 18);
|
clutter_actor_set_margin_bottom (vase, 18);
|
||||||
clutter_actor_set_margin_left (vase, 6);
|
clutter_actor_set_margin_left (vase, 6);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user