Home
last modified time | relevance | path

Searched refs:LV_SIZE_CONTENT (Results 1 – 25 of 45) sorted by relevance

12

/lvgl-3.5.0/examples/layouts/grid/
Dlv_example_grid_2.c24 lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_grid_2()
32 lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_grid_2()
40 lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_grid_2()
48 lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_grid_2()
56 lv_obj_set_size(obj, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_grid_2()
/lvgl-3.5.0/src/widgets/
Dlv_btn.c34 .width_def = LV_SIZE_CONTENT,
35 .height_def = LV_SIZE_CONTENT,
Dlv_line.c40 .width_def = LV_SIZE_CONTENT,
41 .height_def = LV_SIZE_CONTENT,
Dlv_label.c59 .width_def = LV_SIZE_CONTENT,
60 .height_def = LV_SIZE_CONTENT,
326 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in lv_label_get_letter_pos()
427 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in lv_label_get_letter_on()
547 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in lv_label_is_char_under_pos()
776 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) w = LV_COORD_MA… in lv_label_event()
803 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in draw_main()
915 …if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT && !obj->w_layout) flag |= LV_TEXT… in lv_label_refr_text()
/lvgl-3.5.0/examples/widgets/tileview/
Dlv_example_tileview_1.c28 lv_obj_set_size(btn, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_tileview_1()
/lvgl-3.5.0/examples/widgets/btn/
Dlv_example_btn_2.c58 lv_obj_set_size(btn1, LV_SIZE_CONTENT, LV_SIZE_CONTENT); in lv_example_btn_2()
Dlv_example_btn_1.c32 lv_obj_set_height(btn2, LV_SIZE_CONTENT); in lv_example_btn_1()
/lvgl-3.5.0/examples/others/gridnav/
Dlv_example_gridnav_3.c34 lv_obj_set_size(cont_main, lv_pct(80), LV_SIZE_CONTENT); in lv_example_gridnav_3()
80 lv_obj_set_size(cont_sub2, lv_pct(100), LV_SIZE_CONTENT); in lv_example_gridnav_3()
Dlv_example_gridnav_1.c29 lv_obj_set_size(obj, 70, LV_SIZE_CONTENT); in lv_example_gridnav_1()
/lvgl-3.5.0/examples/styles/
Dlv_example_style_1.c15 lv_style_set_height(&style, LV_SIZE_CONTENT); in lv_example_style_1()
Dlv_example_style_11.c21 lv_style_set_height(&style_base, LV_SIZE_CONTENT); in lv_example_style_11()
/lvgl-3.5.0/examples/layouts/flex/
Dlv_example_flex_6.c19 lv_obj_set_size(obj, 70, LV_SIZE_CONTENT); in lv_example_flex_6()
Dlv_example_flex_2.c23 lv_obj_set_size(obj, 70, LV_SIZE_CONTENT); in lv_example_flex_2()
Dlv_example_flex_1.c36 lv_obj_set_size(obj, LV_PCT(100), LV_SIZE_CONTENT); in lv_example_flex_1()
Dlv_example_flex_5.c27 lv_obj_set_size(obj, 70, LV_SIZE_CONTENT); in lv_example_flex_5()
/lvgl-3.5.0/docs/widgets/core/
Dtable.md43 If the label's width or height is set to `LV_SIZE_CONTENT` that size will be used to show the whole…
44 E.g. `lv_obj_set_size(table, LV_SIZE_CONTENT, LV_SIZE_CONTENT)` automatically sets the table size t…
Dbtn.md10 - Default height and width set to `LV_SIZE_CONTENT`
/lvgl-3.5.0/src/misc/
Dlv_area.h269 #define LV_SIZE_CONTENT LV_COORD_SET_SPEC(2001) macro
271 LV_EXPORT_CONST_INT(LV_SIZE_CONTENT);
/lvgl-3.5.0/src/extra/widgets/menu/
Dlv_menu.c51 .height_def = LV_SIZE_CONTENT,
59 .height_def = LV_SIZE_CONTENT
66 .height_def = LV_SIZE_CONTENT
71 .width_def = LV_SIZE_CONTENT,
72 .height_def = LV_SIZE_CONTENT
299 lv_obj_set_size(sidebar_header, LV_PCT(100), LV_SIZE_CONTENT); in lv_menu_set_sidebar_page()
507 lv_obj_set_size(main_header, LV_PCT(100), LV_SIZE_CONTENT); in lv_menu_constructor()
/lvgl-3.5.0/src/extra/layouts/flex/
Dlv_flex.c242 if((f.row && h_set == LV_SIZE_CONTENT && cont->h_layout == 0) || in flex_update()
243 (!f.row && w_set == LV_SIZE_CONTENT && cont->w_layout == 0)) { in flex_update()
305 if(w_set == LV_SIZE_CONTENT || h_set == LV_SIZE_CONTENT) { in flex_update()
324 if(f->wrap && ((f->row && w_set == LV_SIZE_CONTENT) || (!f->row && h_set == LV_SIZE_CONTENT))) { in find_track_end()
/lvgl-3.5.0/src/extra/widgets/msgbox/
Dlv_msgbox.c35 .height_def = LV_SIZE_CONTENT,
42 .height_def = LV_SIZE_CONTENT,
/lvgl-3.5.0/src/extra/widgets/list/
Dlv_list.c81 lv_obj_set_size(obj, LV_PCT(100), LV_SIZE_CONTENT); in lv_list_add_btn()
/lvgl-3.5.0/src/extra/widgets/span/
Dlv_span.c77 .width_def = LV_SIZE_CONTENT,
78 .height_def = LV_SIZE_CONTENT,
313 lv_obj_set_width(obj, LV_SIZE_CONTENT); in lv_spangroup_refr_mode()
314 lv_obj_set_height(obj, LV_SIZE_CONTENT); in lv_spangroup_refr_mode()
317 if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT) { in lv_spangroup_refr_mode()
320 lv_obj_set_height(obj, LV_SIZE_CONTENT); in lv_spangroup_refr_mode()
325 if(lv_obj_get_style_width(obj, LV_PART_MAIN) == LV_SIZE_CONTENT) { in lv_spangroup_refr_mode()
328 if(lv_obj_get_style_height(obj, LV_PART_MAIN) == LV_SIZE_CONTENT) { in lv_spangroup_refr_mode()
/lvgl-3.5.0/docs/overview/
Dcoords.md17LV_SIZE_CONTENT`: Special value to set the width/height of an object to involve all the children. …
165 The size settings support a special value: `LV_SIZE_CONTENT`. It means the object's size in the res…
168 Objects with `LV_OBJ_FLAG_HIDDEN` or `LV_OBJ_FLAG_FLOATING` will be ignored by the `LV_SIZE_CONTENT
260 The translation actually moves the object. That means it makes the scrollbars and `LV_SIZE_CONTENT`…
267 …the object "really" larger. In other words scrollbars, layouts, and `LV_SIZE_CONTENT` will not rea…
282 They are especially useful if the size is set by percentage or `LV_SIZE_CONTENT`.
323 …YOUT` but the object with `LV_OBJ_FLAG_FLOATING` will be ignored in `LV_SIZE_CONTENT` calculations.
/lvgl-3.5.0/examples/widgets/table/
Dlv_example_table_2.c67 lv_obj_set_size(table, LV_SIZE_CONTENT, 200); in lv_example_table_2()

12