Jump to content
Search Community

Text Field Resize problem

jankrut test
Moderator Tag

Recommended Posts

Hello ,

I have created a text field and set its width property to 100 then added it to transform manager. Now when i change its width property to 200 and then try to scale with transform handles, its width automatically become 100.

Please let me what should be the problem.

 

Thanks in advance

Link to comment
Share on other sites

Did you make the change to the width property directly on the object? If so, TransformManager has no way of knowing that - you need to either make the change through TransformManager or call update() on the associated TransformItem so that it recognizes the change properly.

 

myManager.getItem(myObject).update();

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...