GWT - setStyle on gwt-MenuBarPopup (multiple popup)? -


i have several menubar in same page, , want apply specific style each one. applying different styles menubarpopup problem here.

with instance of popup, call addstylename() method. can 1 menubar.addclosehandler(closehandler<popuppanel> handler) method, can't find way retrieve instance when popup displayed.

found way:

the default style applied popup menubar.getprimarystylename() + "popup"

so using menubar.addstylename("mystyle") won't affect popup, menubar.setstylename("mystyle") will.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -