有没有办法从常规中创建一个像 Button 这样的 TabPanelcom.emitrom.gwt4.touch.client.widgets.Button
我的意思是,TabPanel按钮用于在选项卡之间切换,并在选择某个选项卡时具有这种“下推”效果,因为它的样式TabBar与TabPanel. 我不是追求标签切换功能,而是更多关于按钮的按钮功能TabPanel。
随着项目的插入TabPanel,按钮会自动TabPanel插入。查看代码我可以看到项目的样式是: item.setIconCls(TouchIcons.INFO),所以我设置了 mybutton.setIconCls(TouchIcons.INFO)但效果不一样。
出于某种原因,我不能使用TabPanel,所以我只需要将这种按钮样式与常规Button或如果有 PushButton 一起使用。