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
Post a Comment