I am creating a label with a text in EXTJS. What config should should I specify to show it underlined?
{
xtype: 'label',
width: 130,
text: 'CLIENT NAME'
// style:'?'
}
I want the label text CLIENT NAME underlined
You can use the text-decoration
style to underline it.
{
xtype: 'label',
width: 130,
text: 'CLIENT NAME',
style: 'text-decoration:underline'
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.