lv_obj_set_content_width(obj, 50); lv_obj_set_content_height(obj, 30); ``` The size of the bounding box and the content area can be get with the following functions: ```c lv_coord_t w = lv_obj_get_width(obj); lv_coord_t h = lv_obj_get_height(obj); lv_coord_t content...
staticscrool_widget_cb(lv_event_t* e){lv_obj_t* cont =lv_event_get_target(e);uint32_tchild_cnt =lv_obj_get_child_cnt(cont);for(uint8_ti =0; i < child_cnt; i++) {lv_obj_t* child =lv_obj_get_child(cont, i);lv_obj_set_style_translate_x(child, child->coords.y1 *0.5...
lv_display_get_event_count lv_display_get_event_dsc lv_display_get_horizontal_resolution lv_display_get_inactive_time lv_display_get_invalidated_draw_buf_size lv_display_get_layer_bottom lv_display_get_layer_sys lv_display_get_layer_top @@ -1617,6 +1628,7 @@ lv_obj_get_coords lv_obj...
*/ lv_textarea_set_cursor_pos(obj, lv_text_get_cursor_pos(obj) + _lv_txt_get_encoded_lengthtxt)); lv_event_sendobj _EVENT_VALUE_CHANGED, NULL); } voidlv_textarea_del_char(lv_obj_t * obj) { LV_ASSERT_OBJ(obj, MY_CLASS); lv_textarea_t * ta = (lv_...
showObject(obj[i],k+1); } } } function get_location(){ if(navigator.geolocation){ navigator.geolocation.getCurrentPosition(show_map,handle_error,{enableHighAccuracy:true,maximumAge:1000}); }else{ alert("Your browser does not support HTML5 geoLocation"); ...
coords_ext; lv_obj_get_coords(obj, &obj_coords_ext); lv_coord_t ext_draw_size = _lv_objget_ext_draw_size(obj); lv_area_increase(&obj_coords_ext ext_draw_size, ext_draw_); bool com_clip_res = _lv_area_intersect
{Object} opts 下载的一些选项 */ var downloadAndroidPkg = function (opts) { if (downLoadHandler) { clearTimeout(downLoadHandler); downLoadHandler = null; } var stTime = new Date().getTime(); downLoadHandler = setTimeout(function () { if (new Date().getTime() - stTime < 3000) {...
{Object} opts 下载的一些选项 */ var downloadAndroidPkg = function (opts) { if (downLoadHandler) { clearTimeout(downLoadHandler); downLoadHandler = null; } var stTime = new Date().getTime(); downLoadHandler = setTimeout(function () { if (new Date().getTime() - stTime < 3000) { ...
id = lv_obj_get_child_cnt(cont); @@ -168,7 168,7 @@ static void lv_tabview_constructor(const lv_obj_class_t * class_p, lv_obj_t * ob break; }lv_obj_size(obj, LV_SIZE_PCT(100), LV_SIZE_PCT(100)); lv_obj_setsize(obj, LV_PCT(100), LV_PCT(100)); lv_obj...
(inlined by) lv_obj_get_content_coords at C:\Users\Utilisateur\esp\esp-idf\lv_port_esp32_9\build/…/components/lvgl/src/core/lv_obj_pos.c:573 0x400fb929: lv_label_refr_text at C:\Users\Utilisateur\esp\esp-idf\lv_port_esp32_9\build/…/components/lvgl/src/widgets/lv_label.c:89...