07-18-2008 02:33 PM
Quote from the previous forum:
|I am using a horizontal manager that contains a RichTextField followed by a button. In order to lay them correctly I need to get the width of the RichTextField.|
Even though the text is not filling the whole line, It is returning the width as the whole screen width. The preferredWidth is returning a very small number.
So what to do to get the actual width that the field is taking? By the way the text in the field is a multiline text.