GWT menu item text alignments issues
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开发者_JS百科'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
There's a "boolean asHTML" option when creating menu items, set that to true, then use CSS to left align and right align the text you want to align.
See the docs: http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/MenuItem.html
 
         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论