FXLabel icon indicating copy to clipboard operation
FXLabel copied to clipboard

New Line Characters on arm64?

Open MattFoley opened this issue 11 years ago • 2 comments

Hi, it seems like only on arm64 devices, and not on the arm64 simulator, '\n's are never correctly interpreted when sizing or counting lines. On all other devices I've tried and simulators, FXLabels that I include '\n' on are always sized correctly, but on my 5S they are cut off with a ellipsis.

Example string being "Alarm was\n12 hours ago", is truncated to "Alarm..." or "Alarm was..." instead of a two line label. Any ideas?

Thanks for all the work Nick, I really appreciate the Open Source work you've done.

Tj-

MattFoley avatar Feb 09 '14 20:02 MattFoley

I should mention that this happens when I use someFXLabel.text = @"some Text \n with a new line"

MattFoley avatar Feb 09 '14 21:02 MattFoley

What value are you using for the lineCount?

nicklockwood avatar Feb 10 '14 09:02 nicklockwood