Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.
  1. #1
    Sencha - Services Team tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,292
    Vote Rating
    6
    tobiu will become famous soon enough

      0  

    Default 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.

    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'
                },...
    drop me an email / pm for a demo usecase if needed.
    Best regards
    Tobias Uhlig
    __________


    Sencha Inc
    Tobias Uhlig, Solutions Engineer

    Private Projects:

    S-CIRCLES Social Network Engine
    Commercial Theming for Ext JS 3 & 4

  2. #2
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,156
    Vote Rating
    4
    rdougan is on a distinguished road

      0  

    Default


    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.