Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 95979 - [Dialogs] Inconsistent alignment of text in TitleAreaDialog
Summary: [Dialogs] Inconsistent alignment of text in TitleAreaDialog
Status: RESOLVED DUPLICATE of bug 91004
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-19 13:04 EDT by Michael Barkhouse CLA
Modified: 2005-05-19 15:30 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Barkhouse CLA 2005-05-19 13:04:51 EDT
I've only seen this error on SUSE Linux. It does not happen on Windows. I have 
not tried any other OS.

I've created a subclass of org.eclipse.jface.dialogs.TitleAreaDialog. I want to 
set the text in the top area. The text is three lines long, so not all of it is 
visible at the same time. If I set the text using the setMessage method, the 
text appears bottom aligned. I.E. The first line is scrolled up and only 
partially visible. If I set the text using setErrorMessage the text is 
displayed top aligned. I.E. The bottom line is only partially visible.

The alignment of the text should be the same regardless of whether I'm showing 
an error or not. I suggest always using top alignment.
Comment 1 Tod Creasey CLA 2005-05-19 15:30:22 EDT
The TitleAreaDialog currently only handles 2 lines - the third line behaves
differently on every platform.

See Bug 91004

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