Cai*_*ain 13
我想我找到了解决方案!
确保已设置您正在使用的Ext.tab.Panel的'cls'属性,然后将以下内容粘贴到自定义CSS文件中.
.MainPanel .x-tab-bar-strip {
top: 40px !important; /* Default value is 20, we add 20 = 40 */
}
.MainPanel .x-tab-bar .x-tab-bar-body {
height: 43px !important; /* Default value is 23, we add 20 = 43 */
border: 0 !important; /* Overides the border that appears on resizing the grid */
}
.MainPanel .x-tab-bar .x-tab-bar-body .x-box-inner {
height: 41px !important; /* Default value is 21, we add 20 = 41 */
}
.MainPanel .x-tab-bar .x-tab-bar-body .x-box-inner .x-tab {
height: 41px !important; /* Default value is 21, we add 20 = 41 */
}
.MainPanel .x-tab-bar .x-tab-bar-body .x-box-inner .x-tab button {
height: 33px !important; /* Default value 13, we add 20 = 33 */
line-height: 33px !important; /* Default value 13, we add 20 = 33 */
}
Run Code Online (Sandbox Code Playgroud)
请注意,这会使标签更大,中间对齐文本,但理想情况下,图标也会中间对齐.
| 归档时间: |
|
| 查看次数: |
10191 次 |
| 最近记录: |