-
16 Oct 2011 10:28 AM #1
Ext.Button -> height config
Ext.Button -> height config
hi team,
this works for sheets & toolbars, but when you have a vbox layout containing hbox layouts with buttons, the buttons get flexed vertically instead of the containers and the height does not get applied at all.
this worked fine in ST 1.
drop me an email / pm for a demo usecase if needed.Code:layout : { type : 'vbox', pack : 'center', align : 'stretch' }, defaults: { layout: { type: 'hbox' }, flex: 1, defaults : { xtype : 'button', baseCls : 'x-button', flex : 1, height : '3.3em', iconAlign : 'top', iconMask : true, style : 'margin : .3em; padding: .4em;', ui : 'round' } }, items : [{ items : [{ action : 'showNewsView', iconCls : 'chat', text : 'News' },...
-
23 Jan 2012 4:54 PM #2
Is this now how it should look?

Looks correct from reading the code.Sencha Inc.
Robert Dougan - @rdougan
Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote