Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

eric404

Members
  • Posts

    2
  • Joined

  • Last visited

eric404's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I'm developping an authoring tool allowing users to layout images and texts and have a function which set the width or height of all selected items to the value of the first item in the selection list. It works well on images, however, there is a problem when it's applied to TextField: The width, for example, is set correctly but if I select one of the TextField which has its width changed and try to scale it by manually resizing the selection box around it, it reverts to its old width value and remains locked untill the selection box is resized to fit the TextField dimensions. To prevent this problem, the solution I found is to remove the selected items from the Transformanager instance so they aren't transformable anymore, set their width or height and add them back in the list of transformable items. I don't like it much as it's a bit ugly, is this a known problem and is there a more elegant solution ? Regards, Eric.
×