作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用带有 Ext 版本 3.3.1 的 Ext.ux.form.lovcombo
我包括在内
Ext.ux.form.LovCombo.css,Ext.ux.util.js,Ext.ux.form.LovCombo.js
I am not seeing any checkboxes when the combobox is dropdown, but it seems to be functional, do I need to include anything more? What could be the reason for not seeing the checkboxes.
SOLVED:css paths were not correct for my ext installation.
.ux-lovcombo-icon-checked {
background: transparent url('../images/default/menu/checked.gif');
}
.ux-lovcombo-icon-unchecked
{
background: transparent url('../images/default/menu/unchecked.gif');
}
最佳答案
.ux-lovcombo-icon {
width:16px;
height:16px;
float:left;
background-position: -1px -1px ! important;
background-repeat:no-repeat ! important;
}
.ux-lovcombo-icon-checked {
background: transparent url(../images/checked.gif);
}
.ux-lovcombo-icon-unchecked {
background: transparent url(../images/unchecked.gif);
}
/* IE patch */
.ext-ie .ux-lovcombo-item-text {
position:absolute;
left:16px;
top:3px;
}
.ext-ie .ux-lovcombo-icon {
float:none;
}
.ext-ie .x-combo-list-item {
position:relative;
}
关于css - extjs 扩展 lovcombo 不显示复选框,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4933376/
我是一名优秀的程序员,十分优秀!