[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: ApplicationWindow

Thanks Grant,

I will log it as a bug, but meanwhile I tried to right justify the menu but was not able to.

i tried something like this.

menuManager.getMenu().setLocation(300, SWT.DEFAULT);

I tried to extend MenuManager , but similar result.

Naren

Grant Gayed wrote:

What about the menu? How can I right justify a menu in a menu manager?

This is not supported.  I could not find an existing request for this, so if
you want you can log one with SWT (

https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&bug_severity=enhancement )
..  I'm not sure if the various platforms support this though; if they don't
then this won't be implemented.

Grant


"Naren" <x_naren@xxxxxxxxxxx> wrote in message
news:ebaff40f6b6d2b8e2a1c821af36c8d7c$1@xxxxxxxxxxxxxxxxxx
Tom Schindl wrote:

> Hi,

> this is controlled by your window manager and theme, SWT has no control
> on it.
What about the menu? How can I right justify a menu in a menu manager?

Naren


> Tom

> Naren schrieb:
>> Iam looking for answers for simple questions
>> Iam on SWT - linux.
>>
>> How to set shell title -- to the left. (default is center)
>> I tried using setShellStyle(SWT.LEFT) unsuccessfully.
>>
>> How to more a menu to the RIGHT most part say I have
>>
>> File Functions and Help menus in my app. I would like to move Help to
>> the right most part of the window.
>>
>> Thanks
>>
>> Naren
>>