diff --git a/src/others/xml/parsers/lv_xml_obj_parser.c b/src/others/xml/parsers/lv_xml_obj_parser.c index 73d655ee14..9f61bcd83e 100644 --- a/src/others/xml/parsers/lv_xml_obj_parser.c +++ b/src/others/xml/parsers/lv_xml_obj_parser.c @@ -72,6 +72,7 @@ void lv_xml_obj_apply(lv_xml_parser_state_t * state, const char ** attrs) else if(lv_streq("align", name)) lv_obj_set_align(item, lv_xml_align_to_enum(value)); else if(lv_streq("flex_flow", name)) lv_obj_set_flex_flow(item, lv_xml_flex_flow_to_enum(value)); else if(lv_streq("flex_grow", name)) lv_obj_set_flex_grow(item, lv_xml_atoi(value)); + else if(lv_streq("ext_click_area", name)) lv_obj_set_ext_click_area(item, lv_xml_atoi(value)); else if(lv_streq("hidden", name)) lv_obj_set_flag(item, LV_OBJ_FLAG_HIDDEN, lv_xml_to_bool(value)); else if(lv_streq("clickable", name)) lv_obj_set_flag(item, LV_OBJ_FLAG_CLICKABLE, lv_xml_to_bool(value)); diff --git a/xmls/lv_obj.xml b/xmls/lv_obj.xml index ac5aee670a..25dece9ac0 100644 --- a/xmls/lv_obj.xml +++ b/xmls/lv_obj.xml @@ -48,6 +48,8 @@ Example + +