You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you calculate it as:
measuretext(getLongestItemText()) + paddingLeft + paddingRight.
But that it not corrent, because with of "WWW" will be longer then "iii", while length of both string is the same.
In other words:
And final result of bug is here:
In this case, my longest string was "EUR".
But, as you see, even "EUR" doesn't fit in the line.
The text was updated successfully, but these errors were encountered:
StNekroman
changed the title
[BootstrapDropdown] Calcularion of longest item is wrong
[BootstrapDropdown] Calculation of longest item is wrong
Jan 8, 2017
Currently you calculate it as:
measuretext(getLongestItemText()) + paddingLeft + paddingRight.
But that it not corrent, because with of "WWW" will be longer then "iii", while length of both string is the same.
In other words:
And final result of bug is here:
In this case, my longest string was "EUR".
But, as you see, even "EUR" doesn't fit in the line.
The text was updated successfully, but these errors were encountered: