-
29 Mar 2012 2:54 AM #1
Answered: Ext.field.Field value aligment
Answered: Ext.field.Field value aligment
Hi folks,
I have set of fields which looks like this:
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?Code:xtype : 'fieldset', items : [{ xtype : 'field', label : 'Email', tpl:'<a href="mailto:{mail}">{mail}</a>', data:{mail:'example@domain.com'} }]
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
-
Best Answer Posted by vandzi
styleHtmlContent : true fixed it
maybe it will help to someone else
-
29 Mar 2012 4:14 AM #2
styleHtmlContent : true fixed it
maybe it will help to someone else


Reply With Quote