Community
Participate
Working Groups
See bug 70111 where the original problem got reported.
Created attachment 13408 [details] Screen shot
This is likely the platform wrapping algorithm.
any status on this?
Susan please investigate - this is a potential 3.1.1 candidate
I want to make sure I understand the problem in the screen shot. Is the problem (A) that the second sentence was forced to a new line? That is what the annotation in the screen shot appears to be saying. or (B) there is missing (clipped) text. That is what this bug title is suggesting, but since I don't understand Italian I can't tell. If the text is clipped, where is it clipped - on the right hand side of the first line? And if so, was the dialog initially wrong or was it resized to cause the clipping? I checked the source code and English translation. For (A) There is a new line character (\n) embedded between the sentences. If this was carried forward into the Italian translation, then we would see the forced line. I could not tell by the tester's annotation whether he/she checked for a new line character or a tag. Where can one check the translated messages.properties files? The message name is ProjectReferencesPage_label For (B) The dialog will size the description label as wide as needs to be and wrap the rest. Once displayed, if the dialog is then resized smaller, the text could clip.
(B) could likely be fixed by tweaking the layout if this is the problem, but it would help to know more detail about the clipping (what the text should say in addition to what is showing).
Created attachment 26237 [details] ProjectReferencePage.java patch Needed to set layout on description label after overriding createDescriptionLabel() method from PreferencePage.
Tested on Linux. The label now extends to the edge of the composite. There will still be cases where the dialog wraps the text as in the original problem - e.g. when the previously selected page(s) does not make the dialog wider. But it will work better than before.
Released to HEAD and 3.1.1 for build >20050819
Verified in 3.1.1 RC2 Italian (using 0923 catalogs)