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

Was it helpful?

Solution

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

{
    xtype: 'label',
    width: 130,
    text: 'CLIENT NAME',
    style: 'text-decoration:underline'
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top