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 Android Security Essentials Live Lessons this week in the Android 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"
I agree. Here's the link:
subject: GWT menu item text alignment issue
Similar Threads
Multi-Key Accelerator
Boggled by Eclipse - help!
how to create small windows
GWT Help: Label and Data alignment should be different