extjs4.2加背景图片
来源:互联网 发布:宜搜小说软件下载 编辑:程序博客网 时间:2024/05/11 04:54
思路: 要有个css样式,通过引入css样式实现背景图片的功能。注意透明样式要给每一个组件加上
/*背景图片css */.customBackground { height: 80px; border: 1px solid #E8D59B; border-radius: 4px; background: url(../img/blue/search_bg01.jpg) right bottom no-repeat #F7F0DB;}/*透明 和customBackground搭配使用 */.ex-panel { border-style: solid; border-color: transparent; border-width: 0;}
this.button = Ext.create('Ext.form.Panel',{ baseCls:'ex-panel', border: null, layout: { type: 'table', columns: 2, align: 'left' }, items: [queryButton,exportExcelButton] }) this.form = Ext.create('Ext.form.Panel', { baseCls:'ex-panel',//设置透明FORM 嵌入页面 border: null, layout: { type: 'table', columns: 2, align: 'left' }, items: [userRoleCombo,userNameCombo] }); var backgroundForm = Ext.create('Ext.form.Panel',{ //默认就是一列 cls:'customBackground',//背景图片样式 baseCls:'ex-panel',//设置透明FORM 嵌入页面 border: false, frame:false, width : 800, items: [this.dateForm, this.form,this.button] });
0 0
- extjs4.2加背景图片
- ExtJs4学习(十三)如何给文件上传按钮加背景图片
- mdi窗口加背景图片
- 为grub2加背景图片
- 为对话框加背景图片
- 为grub2加背景图片
- 背景图片加链接
- Qt控件加背景图片
- CSS背景图片加超链接
- JDesktopPane加背景图片
- 仿唯品会 点击加背景图片
- 给超链接加背景图片
- ExtJs4.1:设置panel的背景图片
- ExtJs4.1:设置panel的背景图片
- 给按钮加一个背景图片
- 给校内加个背景图片
- 如何给文章加背景图片
- html中文本框加背景图片
- C++常用库(转)
- Android Studio依赖项目出现unspecified on project app resolves to an APK archive which is not supported
- 如何将安卓虚拟机中的数据库文件导出到本地
- 常用tf函数汇总
- easyUI tabs控件显示与隐藏以及跳转
- extjs4.2加背景图片
- H264/AVC视频解码时AVC1和H264的区别
- python文件操作
- Delphi 10.2 Tokyo 下载激活
- Oracle表空间(tablespaces)简介
- Socket长连接实现思路
- 包装类
- Android开发之浅谈Json数据格式
- JAVA 8新增编码解码