Results 1 to 2 of 2

Thread: vertical-align boxlabel of radiogroup

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    38
    Vote Rating
    0
      0  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,411
    Vote Rating
    1290
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •