On Wed, 2009-01-14 at 07:19 +0000, Dan Higham wrote: > Hi clad, correct me if I am wrong but I think you have to use > set_scale, I am sure this is the case after adding the texture to a > group and trying to resize the group.
You can't resize a group, it takes the size of its children. You can set the scale of a group, but unless you know exactly how its children are behaving, you won't be able to control its size exactly. You probably want to create a custom actor. > On 14 Jan 2009, at 02:27, Vlad Seryakov <[email protected]> wrote: > > > Hello, > > > > I am loading icons of different size and at the time of performing > > animation would like to scale them to the same dimensions but they > > are still displayed with their original size. > > After create an actor from .png i call set_size but it does not work. > > > > Is it possible to do or i am doing t wrong way? Hard to tell without the code. Setting the size of a ClutterTexture or a ClutterTextureClone should work correctly. Possibly you want to set the gobject property 'sync-size' to FALSE. If this doesn't shed any light, care to produce a test-case or share the code you're using? -- Chris Lord, Intel Open Source Technology Centre -- To unsubscribe send a mail to [email protected]
