Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to layout MenuItems ?
How to layout MenuItems ? [message #456413] Thu, 02 June 2005 17:48 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #456440 is a reply to message #456435] Fri, 03 June 2005 16:36 Go to previous messageGo to next message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
There is no support in SWT for this right now. The capbability is available
on most operating systems to do this but commercial apps, since Windows 3.1,
don't seem to make use of it.

"HoloJoe" <nospam@nospam.org> wrote in message
news:203513c7a230bd46e23f5a1d4929eec9$1@www.eclipse.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 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: How to layout MenuItems ? [message #456651 is a reply to message #456609] Mon, 06 June 2005 15:09 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
There aren't any plans. You could enter a bug report but since most apps no
longer do this, priority would be low.

"HoloJoe" <nospam@nospam.org> wrote in message
news:bbbd2308c250f7d69831fc73b6c5eb69$1@www.eclipse.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
>
Previous Topic:Is printing not suported for Pocket PC Windows Mobile 2003?
Next Topic:FileFormat extensions
Goto Forum:
  


Current Time: Tue Apr 30 11:02:43 GMT 2024

Powered by FUDForum. Page generated in 0.03734 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top