1. #1
    Ext User
    Join Date
    Jun 2008
    Posts
    27
    Vote Rating
    0
    cqiao is on a distinguished road

      0  

    Default how alter the margin between the TextField's label and it's inputbox?

    how alter the margin between the TextField's label and it's inputbox?
    thanks!

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    4
    gslender is on a distinguished road

      0  

    Default

    not sure about margin, but you can set the formpanel's label width that kinda gives the same result http://extjs.com/deploy/gxtdocs/com/...LabelWidth(int)

  3. #3
    Ext User
    Join Date
    Jun 2008
    Posts
    27
    Vote Rating
    0
    cqiao is on a distinguished road

      0  

    Default

    thank you!

  4. #4
    Ext User battisti's Avatar
    Join Date
    Oct 2007
    Location
    Brasil / PR / Cascavel
    Posts
    58
    Vote Rating
    0
    battisti is on a distinguished road

      0  

    Default Use CSS rule

    Other method is using a class css, for exemple:

    PHP Code:
    .labelExt{
       
    margin-left5px;

    and in yout label put:

    PHP Code:
    var labelCheckbox = new Ext.form.Label({
       
    text'Exibir Ocultos',
       
    cls'labelExt'
    }); 
    []'s Anselmo Battisti
    anselmobattistigmail.com
    del.icio.us/anselmobattisti
    battisti.wordpress.com

Thread Participants: 2