-
20 Oct 2011 9:09 AM #1
tabpanel vbox layout issue after latest Ext Designer update
tabpanel vbox layout issue after latest Ext Designer update
Designer version tested:- Designer 1.2.2 rev 48
- Mac OS X - 10.6.8
- Ext JS 3.4
- After updating Ext Designer, the change in the layout configuration for a tab results in the scroll bar appearing immediately at the end of the content instead of at the right side of the browser. This only happens in Firefox 7.0.1.
Here's the sdiff (left side original format, right side new format):
Code:layout: { | layout: 'vbox', align: 'stretch', < type: 'vbox' < }, < title: 'Test Info', title: 'Test Info', > align: 'stretch',
Steps to reproduce the problem:- Open up 3.4.x project which includes a tab panel with layout type: vbox and layout align: stretch after update
- scrollbar should appear at the right edge of browser
- scrollbar appears at the end of the panel
- attached
- none
- maintain layout: {type: 'vbox', align: 'stretch'} instead of layout: 'vbox', align: 'stretch'
-
27 Oct 2011 10:02 AM #2
Gerald -
This does look like a bug, could you provide us a sample project that illustrates this issue?
Thanks,Aaron Conran
@aconran
Sencha Architect Development Team
-
23 Dec 2011 4:55 PM #3
i also have this issue. vbox and hbox layouts need align property to be set in layoutConfig object.
-
27 Dec 2011 10:52 AM #4
I have a large project we are converting to use the latest Designer and am having the same issue. We rely heavily on vbox and hbox.
Right now I can't continue with the conversion because this really messed up the application.
It took me two days to figure out what the issue was.
-
27 Dec 2011 4:12 PM #5
i have a quick and dirty workaround for this problem, this may help you
Code:Ext.Container.prototype.initComponent = Ext.Container.prototype.initComponent.createInterceptor( function(){ if ( { 'vbox' : true, 'hbox' : true }[ this.layout ] ){ this.layoutConfig = this.layoutConfig || {}; Ext.applyIf( this.layoutConfig, { type : this.layout ,align : this.align ,pack : this.pack || 'start' } ); } } );
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote