首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

有关问题总结(持续更新中)

2012-11-22 
问题总结(持续更新中)?field未显示label——field只在layout为form时,显示label发现应用总是去连www.sencha.

问题总结(持续更新中)

?

    field未显示label——field只在layout为form时,显示label发现应用总是去连www.sencha.com——未设置Ext.BLANK_IMAGE_URL没使用xtype来延迟初始化(lazy instantiation)——浪费内存getXTypes()没有得到继承结构——扩展类是忘记注册 Ext.reg()

(例如?

ntbmsBasicCustomFormPanel扩展了FormPanel,调用getXTypes()应该得到——component/box/container/panel/form/ntbmsBasicCustomFormPanel

但是只得到——ntbmsCustomFormPanel

)

?? ? 5. ??Ext can't automatically detect if a vertical scrollbar will appear, so the only solution is to reserve room for the vertical scrollbar (e.g. by using a?scrollOffset?or a negative anchor in a layout).

?? ? ?layoutConfig: {scrollOffset: Ext.getScrollBarWidth()}

?? ? ? 或者

?? ??defaults: {anchor: '-' + Ext.getScrollBarWidth()}

?? ?参看:

?? ??http://www.sencha.com/forum/showthread.php?116524-Understanding-scrollbars&highlight=scrollOffset

?

http://www.sencha.com/forum/showthread.php?117624-autoScroll-option-displays-horizontal-and-vertical-bar-only-need-vertical-bar.&highlight=form+scroll

?

热点排行