This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 8 in Action this week in the Java 8 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

Joined: Apr 08, 2010
Posts: 28

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"
jQuery in Action, 2nd edition
subject: GWT menu item text alignment issue
Similar Threads
how to create small windows
GWT Help: Label and Data alignment should be different
Multi-Key Accelerator
Boggled by Eclipse - help!