首先经过文件引用找到extjs的样式文件:
css
<link rel="stylesheet" type="text/css" href="<%=basePath%>/publicresource/extlib/resources/css/ext-all.css" />
打开ext-all.css在文件最后添加下面代码
浏览器
.x-tool-close { background-position:-2 -380px; width:61; height:25; } .x-tool-close-over { background-position:-62 -380px; width:61; height:25; }
用来指定关闭按钮图片的位置,宽和高。下面是个人图片code
使用谷歌,火狐,ie等浏览器自带的开发模式,查看关闭按钮 具体引用的图片的路径。在图片最下面添加本身的图片就oL.下面是个人路径图片
publicresource\extlib\resources\images\default\panel
改了以后全部的window关闭按钮都变了,客户不再担忧找不到关闭按钮了。下面的效果图开发