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

Bug 175141

Summary: DecoratedField cannot show multiline description
Product: [Eclipse Project] Platform Reporter: Ray <linumax>
Component: UIAssignee: Susan McCourt <susan>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
DecoratedField's text description multiline bug none

Description Ray CLA 2007-02-22 11:34:33 EST
Build ID: Build id: I20070209-1006

Steps To Reproduce:
1. Decorate a widget using DecoratedField
2. Create a FieldDecoration and set it's Description to be multiline:
final FieldDecoration standardError = fieldDecorationRegistry.getDefault().getFieldDecoration(				FieldDecorationRegistry.DEC_ERROR);	standardError.setDescription("Error: This is an error.\nError: Missing input field.\nWarning: This is a warning.");

3. Add decoration to widget and show it

4. Run and see it does not show up appropriately



More information:
I tried the same thing with ControlDecoration in 3.3M5 and that works fine.
Comment 1 Ray CLA 2007-02-22 11:45:08 EST
Created attachment 59581 [details]
DecoratedField's text description multiline bug

Compare DecoratedField and ControlDecoration - Multiline does not work with DecoratedField
Comment 2 Susan McCourt CLA 2007-02-26 18:21:34 EST
We are encouraging clients to use ControlDecoration instead of DecoratedField.  Do you need this to be supported on DecoratedField or can you use ControlDecoration instead?
Comment 3 Susan McCourt CLA 2007-03-29 11:23:30 EDT

*** This bug has been marked as a duplicate of bug 157111 ***