[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] right align status in statusdialog
|
- From: ulidder@xxxxxxxxx (Upkar Lidder)
- Date: Wed, 2 Jul 2008 21:26:23 +0000 (UTC)
- Newsgroups: eclipse.platform
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I am using a statusdialog. When the user makes some choices on the dialog,
I wante to use the status line at the bottom of the dialog to display
warning/error messages to the user. It all works well. I was wondering if
it is possible to display the status message above the ok/cancel button -
right aligned instead of left aligned. I saw the following code in status
dialog:
private MessageLine fStatusLine;
protected Control createButtonBar(Composite parent) {
...
fStatusLine = new MessageLine(composite);
fStatusLine.setAlignment(SWT.LEFT);
...
}
Is there a way to change the alignment to right without overriding the
whole createButtonBar?
Thanks,
Upkar.