Ext.window 中加入 combobox 的问题!


Ext.onReady(function(){
var checkGroup = {
xtype: 'checkboxgroup',
allowBlank: false,
items: [
{boxLabel: 'Item 1', name: 'cb-auto-1'},
{boxLabel: 'Item 2', name: 'cb-auto-2', checked: true},
{boxLabel: 'Item 3', name: 'cb-auto-3'},
{boxLabel: 'Item 4', name: 'cb-auto-4'},
{boxLabel: 'Item 5', name: 'cb-auto-5'}
]
};

var fp = new Ext.Window({
    frame: true,
    labelWidth: 110,
    width: 600,
    height:200,
    items: [
        checkGroup
    ]
});
fp.show();
})



为何在复选框的地方背景颜色 变成了白色。。求高手支招! 感激不尽!


一样的问题:
[url]http://www.iteye.com/problems/21251[/url]
我觉得group放到FormPanel(这里加个frame:true)里..再把formPanel放到window里就行了..
Ext.onReady(function(){

var checkGroup = {

xtype: 'checkboxgroup',

allowBlank: false,

items: [

{boxLabel: 'Item 1', name: 'cb-auto-1'},

{boxLabel: 'Item 2', name: 'cb-auto-2', checked: true},

{boxLabel: 'Item 3', name: 'cb-auto-3'},

{boxLabel: 'Item 4', name: 'cb-auto-4'},

{boxLabel: 'Item 5', name: 'cb-auto-5'}

]

};   
var formPanel =new Ext.form.FormPanel({   
        frame:true,   
        items:[checkGroup
        ]   
    });  

var fp = new Ext.Window({   
    frame: true,   
    labelWidth: 110,   
    width: 600,   
    height:200,   
    items: [   
        formPanel   
    ]   
});   
fp.show();   
}) 

我也碰到这个问题,只有设定frame:true才可以,你可以看官网的例子就是这样的

我自己的系统中,就采用这种了.不动他,你也可以全部采用白色,暂时就是这么样.没有去再找解决办法