Question

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

Était-ce utile?

La solution

You can use the text-decoration style to underline it.

{
    xtype: 'label',
    width: 130,
    text: 'CLIENT NAME',
    style: 'text-decoration:underline'
}
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top