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
I have mentioned this behaviour earlier in #58, but I finally found the root cause.
I have used version 2.2.0, but unfortunately it changes the width of the popview in a negative way. Also the property maxWidth is ignored completely.
Examples:
Previous version:
Version 2.2.0:
On iPhone it's even worse:
old:
new:
ROOT CAUSE
The code assumes that the title is always a single row. Of course it might contain of so much words, that they have to be defined over multiple rows.
I have solved this by:
Replacing the lineBreakMode for all title related code snippets:
Having the same problem. It looks like the title was never intended to be that long. It's line break mode is set to NSLineBreakByClipping. The problem occurs on line 458:
if (titleSize.width > textSize.width) textSize.width = titleSize.width;
This sets the textSize width to the titleSize's width ignoring the maxWidth.
I have mentioned this behaviour earlier in #58, but I finally found the root cause.
I have used version 2.2.0, but unfortunately it changes the width of the popview in a negative way. Also the property maxWidth is ignored completely.
Examples:
Previous version:
Version 2.2.0:
On iPhone it's even worse:
old:
new:
ROOT CAUSE
The code assumes that the title is always a single row. Of course it might contain of so much words, that they have to be defined over multiple rows.
I have solved this by:
This occurs in lines: 260, 279, 296, 313, 435 and 452.
This occurs in lines: 299 and 438.
After these changes the view is shown as expected with a multi-line title.
The text was updated successfully, but these errors were encountered: