From 9bae29d67fc385b30b2df2d6c794df1711d9dbaa Mon Sep 17 00:00:00 2001 From: fvanroie <15969459+fvanroie@users.noreply.github.com> Date: Fri, 29 Jan 2021 21:04:12 +0100 Subject: [PATCH] Tweak roller text_font setting --- src/hasp/hasp_attribute.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hasp/hasp_attribute.cpp b/src/hasp/hasp_attribute.cpp index 93ba3207..d352195d 100644 --- a/src/hasp/hasp_attribute.cpp +++ b/src/hasp/hasp_attribute.cpp @@ -1053,6 +1053,7 @@ static void hasp_local_style_attr(lv_obj_t * obj, const char * attr_p, uint16_t if(check_obj_type(obj, LV_HASP_ROLLER)) count = my_roller_get_visible_row_count(obj); lv_obj_set_style_local_text_font(obj, part, state, font); if(check_obj_type(obj, LV_HASP_ROLLER)) lv_roller_set_visible_row_count(obj, count); + lv_obj_set_style_local_text_font(obj, part, state, font); // again, for roller } else { Log.warning(TAG_ATTR, F("Unknown Font ID %s"), payload); }