I am in the progress of migrating an app from v7 to v8. So far most issues could be solved. But so far I have two issues which I wasn’t able to solve so far:
- Labels in “LONG_WRAP” mode aren’t centered anymore when using set_align(lv.ALIGN.CENTER). Instead the individual lines are left aligned.
label = lv.label(page) label.set_long_mode(lv.label.LONG.WRAP); label.set_width(210); label.set_text("This is a long line that will wrap and should be centered."); label.set_align(lv.ALIGN.CENTER) label.align(lv.ALIGN.TOP_MID, 0, 0)
The keyboard has a cancel event but there is no cancel button in the default layouts anymore (or i am too stupid to see it). Do I now have to provide a complete custom button layout if I’d like to see the cancel button?
Labels of (too) small buttons aren’t centered properly anymore.
Example for a “X” no being horizontally centered:
btn = lv.btn() btn.set_size(32, 32); label = lv.label(btn) label.set_text("X")