PDA

View Full Version : adding a symbol to next to a textbox



surajan
7 Dec 2012, 12:32 PM
Can I add a question mark symbol next to my Rule text so that when the user clicks on it, they can see what it means.



{
xtype: 'container',
layout: 'hbox',
items: [
{
xtype: 'text',
style: 'font-weight:bold;',
text:'Role',
padding: '2 6 2 7'
}
]
},
{
xtype: 'container',
layout: 'hbox',
items: [
{
xtype: 'combobox',
editable:false,
id:'role_id',
store: roles_store,
triggerAction:'all',
name: 'role_id',
valueField: 'role_id',
displayField:'role_name',
padding: '2 6 2 7'
}
]
},

mitchellsimoens
9 Dec 2012, 8:13 AM
Have you tried using afterLabelTextTpl or afterLabelTpl ?