我似乎无法设置所选堆栈面板的CSS
让它被未选择的CSS覆盖。如果我离开
单独取消选择,所选堆栈面板将正确覆盖,
但如果我定义自己的,它就不会。这是一个错误,还是一些“工作”
“如意算盘”的事?
.gwt-StackPanel .gwt-StackPanelItem-selected {
background: url('images/toggle-o.gif');
}
.gwt-StackPanel .gwt-StackPanelItem {
font-weight: bold;
font-size: 8pt;
width: 400px;
/*background: url('images/toggle-c.gif');*/
background-color: #EEE;
background-position: top right;
background-repeat: no-repeat;
}
不幸的是,我选择的面板被第一个面板的
不知怎么的。有什么帮助吗?这是虫子吗?如果我离开
.gwt-StackPanel .gwt-StackPanelItem
它单独使用GWT css,然后
将正确继承我选择的CSS,但只有在那时。