var c = new Ext.Window({id:"LoginWin", border:true, closable:false,bodyStyle:"background-color: white",resizable:true, buttonAlign:"center", height:150, width:400,
keys:{key:Ext.EventObject.ENTER, fn:e, scope:this}, items:[{xtype:"panel", border:false, layout:"column", items:[a]}],
buttons:[{text:"登录", iconCls:"btn-login", handler:e.createDelegate(this)},
{text:"重置", iconCls:"btn-login-reset",
handler:function () {
a.getForm().reset();
}}]});
现在就是希望中间背景色和边框都是透明色,请问怎么设置
keys:{key:Ext.EventObject.ENTER, fn:e, scope:this}, items:[{xtype:"panel", border:false, layout:"column", items:[a]}],
buttons:[{text:"登录", iconCls:"btn-login", handler:e.createDelegate(this)},
{text:"重置", iconCls:"btn-login-reset",
handler:function () {
a.getForm().reset();
}}]});
现在就是希望中间背景色和边框都是透明色,请问怎么设置
设置样式background-color : transparent;
那样比较丑
frame: true,
plain: true
plain:true,//true则主体背景透明,false则主体有小差别的背景色,默认为false