문제

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'
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top