问题总结(持续更新中)
?
- 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
?