How to layout MenuItems ? [message #456413] |
Thu, 02 June 2005 17:48 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.org
Hello All!
I am writing a small application with SWT and am wondering if it's possible
to lay out MenuItems in a menu.
I know with a ToolBar it's possible to set a layout, so the ToolItems can
be positioned.
But with Menu I think this doesn't work because Menu isn't a subclass of
composite.
Is there any way I can position MenuItems within a MenuBar ?
My application has several MenuItems which should be left aligned as usual
but
there's also a MenuItem which should be right aligned.
Any hints very much appreciated!
Thanks in advance,
HoloJoe
|
|
|
Re: How to layout MenuItems ? [message #456435 is a reply to message #456413] |
Fri, 03 June 2005 16:09 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.org
I hope the question was clear.
I meant to position MenuItems in a Bar menu so that most of the items are
on
the left side of the application window and the "Help" menu should be on
the
right side of the shell.
It should look like this:
|File View Options Help|
| |
| |
You know what I mean, don't you ?
|
|
|
|
Re: How to layout MenuItems ? [message #456609 is a reply to message #456440] |
Sun, 05 June 2005 15:31 |
Eclipse User |
|
|
|
Originally posted by: nospam.nospam.org
Many thanks!
Are there any plans to support it in the near future ?
You are right, there aren't that many applications which make use of it.
But I think it would be nice to have support for that kind of thing in SWT.
Thanks again,
HoloJoe
|
|
|
|
Powered by
FUDForum. Page generated in 0.02371 seconds