我做的ext project 在 屏幕分辨率为 1024*768 的情况下powerOfAttApplication.superclass.constructor.call(this, {
labelAlign: "right",
buttonAlign: "right",
frame: true,
bodyStyle: "padding:0 0",
labelWidth: 150,
layout: "fit",
autoScroll: true,
overflow: 'hidden',
items: [{
title: '授权委托书申请信息',
xtype: 'fieldset',
collapsible: true,
autoHeight: true,
labelAlign: "right",
bodyStyle: "padding:0 0",
items: [{
layout: "column",
items: [{
columnWidth: 1,
layout: 'form',
defaultType: 'textfield',
items: [ this.powerOfAttAppLevel ]
},{
columnWidth: .5,
layout: 'form',
defaultType: 'textfield',
items: [this.powerOfAttAppLicensee,
this.powerOfAttAppSharesThePowOfAttorneys
]
},{
columnWidth: .5,
layout: 'form',
defaultType: 'textfield',
items: [this.powerOfAttAppLicenseeDuties ]
}]
}
出现了水平滚动条和垂直滚动条 请问怎么去掉水平滚动条呢?
labelAlign: "right",
buttonAlign: "right",
frame: true,
bodyStyle: "padding:0 0",
labelWidth: 150,
layout: "fit",
autoScroll: true,
overflow: 'hidden',
items: [{
title: '授权委托书申请信息',
xtype: 'fieldset',
collapsible: true,
autoHeight: true,
labelAlign: "right",
bodyStyle: "padding:0 0",
items: [{
layout: "column",
items: [{
columnWidth: 1,
layout: 'form',
defaultType: 'textfield',
items: [ this.powerOfAttAppLevel ]
},{
columnWidth: .5,
layout: 'form',
defaultType: 'textfield',
items: [this.powerOfAttAppLicensee,
this.powerOfAttAppSharesThePowOfAttorneys
]
},{
columnWidth: .5,
layout: 'form',
defaultType: 'textfield',
items: [this.powerOfAttAppLicenseeDuties ]
}]
}
出现了水平滚动条和垂直滚动条 请问怎么去掉水平滚动条呢?
解决方案 »
- 菜鸟求问,关于弹出层上面的选项卡切换问题
- jquery访问页面后台函数的问题
- 请教大家一个frame中document的问题(将整个页面变灰)
- jQuery的remove()不起作用?用了easyui,也用了jstl
- 拜求将以下javascript转为javabean或jsp的形式
- 如果你对javascript感兴趣的话,这个问题你不得不看
- 怎样用vbs或js脚本得到系统盘:winnt/system32路径?很有用处!高手指点!
- js 不允许有空格,不能是纯字母或数字,正则怎么写?
- 求帮忙,jquery的dialog 方法 弹出框后 如何阻止当前操作呢?
- 在线急等 jquery ajax 中怎么提交<input type="file" >里面的Excel到Action里面解析
- js new
- 如何控制setInterval()的开始和停止
labelAlign: "right",
buttonAlign: "right",
frame: true,
bodyStyle: "padding:0 0",
labelWidth: 150,
layout: "fit",
overflow-x: 'hidden',
autoScroll: true,
items: [{
title: '授权委托书申请信息',
xtype: 'fieldset',
collapsible: true,
autoHeight: true,
labelAlign: "right",
这样写完之后页面直接报错了
然后还要在整个页面加个样式
<style>
* html {overflow-x:hidden;}
body { overflow-x:hidden;}
</style>按理来讲body标签中加了style="overflow-x: hidden;"就可以去掉了,但是为什么不行了,那就是浏览器版本惹的祸,试试吧,100%可以的
JS:overflowX:'hidden'
labelAlign: "right",
buttonAlign: "right",
frame: true,
bodyStyle: "padding:0 0",
labelWidth: 150,
layout: "fit",
autoScroll: true,
overflowX:'hidden',
items: [{
title: '授权委托书申请信息',
xtype: 'fieldset',
在1024*768 情况下 还是不行 有水平滚动条
overflowX:'hidden',