This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

GWT menu item text alignment issue  RSS feed

 
Mohit J Kumar
Ranch Hand
Posts: 33
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

i.e,

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 is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!