Marc
Marc

Reputation: 171

SenchaTouch2 - NestedList - Title "cut off"

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?

Upvotes: 0

Views: 1171

Answers (2)

Spadar Shut
Spadar Shut

Reputation: 15807

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 */
}

Upvotes: 0

olegtaranenko
olegtaranenko

Reputation: 3850

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

Upvotes: 1

Related Questions