Open veksha opened 1 year ago
hi.
i'm using label like this:
let label = newLabel newRect(20, 20, 150, 20) label.verticalAlignment = vaTop label.text = res[0].lyric.replace("\r\n", "|\r\n") cc.addSubview(label) v.addSubview(cc)
and i get this picture:
as you can see some linebreaks are missing. (before "Lunacy", "Turns" and "Cannot")
if i change width of label rect from 150 to 500, i get nice linebreaks:
question: is this a bug?
Yes, looks like a bug to me.
hi.
i'm using label like this:
and i get this picture:
as you can see some linebreaks are missing. (before "Lunacy", "Turns" and "Cannot")
if i change width of label rect from 150 to 500, i get nice linebreaks:
question: is this a bug?