Hello,

I have a couple of question regarding groups' size.

The documentation says that requests to modify group size will be ignored.
However, you can actually change the size of a group. This has no impact on
the display, but the group's size stays to the set value, whatever the
actors contained in the group.

My second question regards clutter_actor_get_transformed_size. Consider the
following snippet:

ClutterActor * group = clutter_group_new();
ClutterActor * r = clutter_rectangle_new();
clutter_actor_set_size(r, 100,100);
clutter_actor_set_scale(r, 0.5, 0.5);
clutter_container_add(group, r, NULL);

In that case the transformed size of the group is 100x100. However the
transformed size of the rectangle is 50x50. Is this normal?

Now if you perform the scale on the group and not on the rectangle, the
transformed size of the group is actually 50x50, which is logical. Well,
logical according to what I expect, but there may be a different logic
behind size handling in clutter.

Thanks,

Julien

Reply via email to