Community
Participate
Working Groups
Build Identifier: 20100218-1602 The form heading unexpectedly wraps heading text. A code snippet will be attached that defines a basic editor with a short form heading text string. When the editor is first displayed, there is a generous amount of horizontal space, more than sufficient to display the entire string, however, the last word form heading text appears to be truncated. If the editor is resized horizontally (shrunk), the last word of the form heading text will appear on the second line of the header. Incidentally, some longer heading text strings do not exhibit this problem. Reproducible: Always Steps to Reproduce: Display the editor defined by the attached code snippet. The last word form heading text appears to be truncated. When the editor is resized horizontally (shrunk), the last word of the form heading text will appear on the second line of the header.
Created attachment 193070 [details] Code snippet to reproduce the problem
Created attachment 193071 [details] Screenshot showing truncated text
Created attachment 193072 [details] Screenshot showing text after resize
This seems to be a variant of Bug 232741. I will follow up on that bug to see if there is any progress.
Created attachment 193209 [details] Patch Although the root cause is in SWT it's possible to code around the bug in org.eclispe.ui.forms. Here is a patch which does that.
Patch committed to HEAD, Fixed
Created attachment 193280 [details] Updated patch These are the changes that were applied to HEAD.
*** Bug 233093 has been marked as a duplicate of this bug. ***
*** Bug 320640 has been marked as a duplicate of this bug. ***
*** Bug 311065 has been marked as a duplicate of this bug. ***