码迷,mamicode.com
首页 > Web开发 > 详细

extjs2.2 panel加背景色

时间:2015-07-15 16:52:44      阅读:131      评论:0      收藏:0      [点我收藏+]

标签:

new Ext.Panel(
                                                            {
                                                                id : ‘center_c‘,
                                                                region : ‘center‘,
                                                                split : false,
                                                                collapsible : false,
                                                                titlebar : true,
                                                                Floatable : false,
                                                                border : false,
                                                                layout : ‘form‘,
                                                                // width
                                                                // : 70,
                                                                // height
                                                                // :80,
                                                                bodyStyle : "background:rgb(223,232,246);  ",//加背景色
                                                                items : [
                                                                        {
                                                                            xtype : ‘button‘,
                                                                            id : ‘btn_add_center‘,
                                                                            style : ‘margin-left:13px; margin-top:10px;margin-bottom:20px;‘,
                                                                            text : ‘添加>‘,
                                                                            handler : addMember
                                                                        },
                                                                        {
                                                                            xtype : ‘button‘,
                                                                            text : ‘<删除‘,
                                                                            style : ‘margin-left:13px; margin-top:10px;margin-bottom:20px;‘,
                                                                            handler : removeMember
                                                                        } ]
                                                            //                                                                         
                                                            }),

 

extjs2.2 panel加背景色

标签:

原文地址:http://www.cnblogs.com/mr-level/p/4648685.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!