gpt4 book ai didi

css - extjs 扩展 lovcombo 不显示复选框

转载 作者:行者123 更新时间:2023-11-28 14:48:40 25 4
gpt4 key购买 nike

我正在使用带有 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com