Is there any way to hide the cursor in a Spinbox widget?
Thanks!
void lv_spinbox_show_cursor(lv_obj_t * spinbox, bool en) {
lv_obj_set_style_text_color(spinbox, lv_color_black(), LV_PART_MAIN);
lv_obj_set_style_text_color(spinbox, (en)? lv_color_white() : lv_color_black(), LV_PART_CURSOR);
lv_obj_set_style_bg_opa(spinbox, (en)? 255 : 0, LV_PART_CURSOR);
}
lv_spinbox_show_cursor(spinbox, false); // hide the cursor