Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350237 - SWT: LabelField GridUseUiHeight cuts wrapped texts
Summary: SWT: LabelField GridUseUiHeight cuts wrapped texts
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-24 07:37 EDT by Christoph Thommen CLA
Modified: 2021-08-19 11:06 EDT (History)
4 users (show)

See Also:
zimmermann: indigo+


Attachments
Scout test-project (2.81 KB, image/png)
2011-06-24 07:37 EDT, Christoph Thommen CLA
no flags Details
Patch to resolve the bug (trunk). It also fixes margin problems on string fields. (5.23 KB, patch)
2011-08-23 12:21 EDT, Claudio Guglielmo CLA
judith.gull: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.