Community
Participate
Working Groups
Text does not correctly compute its height (via Text.computeSize()) when its width is fixed and a new line is added. The height of the Text *is* correct when any character is added to that new line. An example is attached.
Created attachment 48593 [details] Example of vertically growing text. - Enter some text. - Hit return -- the text will scroll. - Enter any character -- the text field will increase in height
The SWT.WRAP style is causing the trouble. If you get rid of it, your code will work.
*** This bug has been marked as a duplicate of 86529 ***