File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes GWT menu item text alignment issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "GWT menu item text alignment issue" Watch "GWT menu item text alignment issue" New topic

GWT menu item text alignment issue

Mohit J Kumar
Ranch Hand

Joined: Apr 08, 2010
Posts: 33

Hi all,

Is it possible in GWT to set Menu Item text in two different alignments,what I mean to say is I want my menu item's label to be left justified and its accelerator key to be right justified.


Create Alt+Ctrl+C
Edit Shift+E
Optimize Ctrl+O

Here Create & Alt+Ctrl+C are two different strings and while I want to align Create on LEFT
I also want to align the accelerator key to RIGHT at the same time.
(I am not able to show you the above menu items properly, HTML is not working I guess. I am sorry I don't know how to fix it.)

Many thanks.

"It's good to B in touch...So keep responding"
I agree. Here's the link:
subject: GWT menu item text alignment issue
It's not a secret anymore!