1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Answers
    6
    Vote Rating
    0
    vandzi is on a distinguished road

      0  

    Default Answered: Ext.field.Field value aligment

    Answered: Ext.field.Field value aligment


    Hi folks,
    I have set of fields which looks like this:
    Code:
    xtype : 'fieldset',
    
    
    			items : [{
    				xtype : 'field',
    				label : 'Email', 
    				tpl:'<a href="mailto:{mail}">{mail}</a>',
    				data:{mail:'example@domain.com'}
    
    
    			}]
    I have to problems. How to align displayed text - based on tpl? Label is verticaly centered but tpl text is at the top. How can I center it?

    Second, but not so important because I use tpl instead of value is that when I set value property, it is not displayed. Only label is visible.

    Thanks a lot

  2. styleHtmlContent : true fixed it

    maybe it will help to someone else

  3. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Answers
    6
    Vote Rating
    0
    vandzi is on a distinguished road

      0  

    Default


    styleHtmlContent : true fixed it

    maybe it will help to someone else

Tags for this Thread