I am using a TextInput control as an item renderer and I want to set the width of the control to reflect the size of the text within it. The text comes from a property of the data associated with the item renderer. I am overriding the set data method in order to set the text and some stle properties, but I can't figure out how to set the width of the control.
Any ideas?

