Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
似乎微不足道,但我无法在任何地方找到答案。我想摆脱例如。为每个弹出窗口添加的“gwt-PopupPanel”样式。有没有办法以任何方式做到这一点?
PopupPanel panel = new PopupPanel(); panel.setStylePrimaryName("mypopup");
所有弹出式样式现在都将使用 mypopup 而不是 gwt-PopupPanel。