Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350237

Summary: SWT: LabelField GridUseUiHeight cuts wrapped texts
Product: z_Archived Reporter: Christoph Thommen <christoph.thommen>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Andreas.Hoegger, judith.gull, wayne.beaton, zimmermann
Version: unspecifiedFlags: zimmermann: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Scout test-project
none
Patch to resolve the bug (trunk). It also fixes margin problems on string fields. judith.gull: iplog+

Description Christoph Thommen CLA 2011-06-24 07:37:59 EDT
Created attachment 198519 [details]
Scout test-project

If a Text (value) of a AbstractLabelField is too long and getConfiguredWrapText and getConfiguredGridUseUiHeight are enabled, the last line of label-text is cut.

See screenshot.
Comment 1 Claudio Guglielmo CLA 2011-08-23 12:21:57 EDT
Created attachment 202015 [details]
Patch to resolve the bug (trunk). It also fixes margin problems on string fields.
Comment 2 Andreas Hoegger CLA 2011-08-24 05:52:32 EDT
changed the patch to avoid several serEnabled/Editable(false) calls. Thank you Claudio.
Patch applied on Trunk
Comment 3 Stephan Leicht Vogt CLA 2011-08-25 12:00:36 EDT
This Patch does not work for eclipse 3.4. I changed the code so it'll compile, but to ensure that projects which depend on eclipse 3.4 won't have this bug we need to have another way to solve this.
Comment 4 Wayne Beaton CLA 2011-09-20 07:39:29 EDT
The patch, if applied to the code base, must be flagged iplog+ so that it appears in the log.
Comment 5 Judith Gull CLA 2013-02-12 11:30:43 EST
Added iplog to patch.
Comment 6 Matthias Zimmermann CLA 2013-02-20 12:39:55 EST
status updated to 'Closed'. Fix shipped with Indigo SR1.