1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    38
    Vote Rating
    0
    jovasnimaro is on a distinguished road

      0  

    Default vertical-align boxlabel of radiogroup

    vertical-align boxlabel of radiogroup


    hi, i would like to know how to adjust the vertical-align to the boxlabel in the radiogroup?

    i just ajdust the vertical-align of the radio button with the css:

    Code:
    .x-form-radio {     vertical-align:10px;
    }
    and appear next.

    align.jpg

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,643
    Vote Rating
    816
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    What Ext JS 4.x.x version are you using? With 4.2.0.663 (GA) with this code:

    Code:
    new Ext.form.Panel({
        renderTo : document.body,
        width    : 300,
        items    : [
            {
                xtype      : 'radiogroup',
                fieldLabel : 'Test<br />Foo',
                anchor     : '100%',
                items      : [
                    {
                        boxLabel : 'One'
                    },
                    {
                        boxLabel : 'Two'
                    },
                    {
                        boxLabel : 'Three'
                    }
                ]
            }
        ]
    });
    I get this:

    Screen Shot 2013-03-15 at 2.54.08 PM.png
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.