I found the following css in ext.css
ext-all.css (line 372)
which is overidden here: ext-all.css (line 383)
Is this correct? Because a div using x-form-text gets a height of 18px then.
ext-all.css (line 372)
.x-form-text {
height:22px;
line-height:18px;
vertical-align:middle;
}
.ext-strict .x-form-text {
height:18px;
}

|
#2
|
|
Look more closely at those selectors... ther .x-form-text override only applies if the element also has the class ext-strict.
I did a quick search and found that Ext only applies the ext-strict class if Ext.isStrict is true ( the browser is in strict mode ); I'd assume that this is an override which fixes some box-model/line-height issue for browsers in strict mode. ![]() |
|
#3
|
|
I see.
Thanks Wolfgang ![]() |
|
#4
|
|
.ext-form-text should not be used on a div anyway. It is specifically for input type=text elements.
![]() |
|
#5
|
|
OK.
![]() |

被折叠的 条评论
为什么被折叠?



