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

Bug 328088

Summary: Message label height is hard coded in the TitleAreaDialog
Product: [Eclipse Project] Platform Reporter: wingwing <liyaq>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: prakash
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description wingwing CLA 2010-10-18 21:45:55 EDT
Build Identifier: M20100211-1343

The message label height is hard coded to two line in the TitleAreaDialog.
When the message is more than two lines, the message label can not display the whole message and not display the vertical scrollbar.

Reproducible: Always

Steps to Reproduce:
1. create a new class which extends the TitleAreaDialog.
2. Call setMessage() Method in the new class with long message parameter(more than two lines, add some \n character).
3. Open this Dialog and the long message could not be displayed completely, only two lines displayed.
Comment 1 Prakash Rangaraj CLA 2010-10-19 06:01:35 EDT
We can't have lot many lines in the title area. This is solved by having tooltips.

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