问题
I've created a NestedList with some data inside .. everything works as expected. But there is one weird thing..
The last 2 characters of the title are always replaced with dots - I don't know why ...
Any explanations?
回答1:
According to http://www.sencha.com/forum/showthread.php?228621-Short-titles-in-title-bar-also-gets-clipped-with-text-ellipsis it it fixed in 2.1.0-b2
As far as I judge it is CSS issue, because on the real device (iPhone test) no such quirks
Cheers, Oleg
回答2:
This can be fixed with this solution, which only shows dots when necessary:
.x-title .x-innerhtml:after {
content: '';
display: inline-block;
width: .3em; /* equal to the amount of padding on the element */
}
来源:https://stackoverflow.com/questions/11796915/senchatouch2-nestedlist-title-cut-off