嗨,有没有办法不允许在 GWT TabLayoutPanel(和其他 gwt 小部件)的选项卡上选择文本?
我尝试使用css,例如:
.gwt-TabLayoutPanel {
user-select: none;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTabs {
user-select: none;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelContent {
user-select: none;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab {
user-select: none;
}
.gwt-TabLayoutPanel .gwt-TabLayoutPanelTab-selected {
user-select: none;
}
谢谢!