Home
last modified time | relevance | path

Searched refs:top_margin (Results 1 – 5 of 5) sorted by relevance

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_top_margin.c73 lv_obj_t * top_margin = lv_obj_create(parent); in lv_demo_high_res_top_margin_create() local
74 lv_obj_remove_style_all(top_margin); in lv_demo_high_res_top_margin_create()
75 lv_obj_set_size(top_margin, LV_PCT(100), c->sz->gap[10]); in lv_demo_high_res_top_margin_create()
76 lv_obj_set_style_pad_hor(top_margin, pad_hor, 0); in lv_demo_high_res_top_margin_create()
77 lv_obj_set_flex_flow(top_margin, LV_FLEX_FLOW_ROW); in lv_demo_high_res_top_margin_create()
78 …lv_obj_set_flex_align(top_margin, LV_FLEX_ALIGN_SPACE_BETWEEN, LV_FLEX_ALIGN_CENTER, LV_FLEX_ALIGN… in lv_demo_high_res_top_margin_create()
81 lv_obj_t * date_label = lv_label_create(top_margin); in lv_demo_high_res_top_margin_create()
86 lv_obj_t * time_label = lv_label_create(top_margin); in lv_demo_high_res_top_margin_create()
92 lv_obj_t * logout_icon = lv_image_create(top_margin); in lv_demo_high_res_top_margin_create()
99 …lv_obj_t * top_margin_right_cluster = lv_demo_high_res_simple_container_create(top_margin, false, … in lv_demo_high_res_top_margin_create()
[all …]
Dlv_demo_high_res_app_about.c73 lv_obj_t * top_margin = lv_demo_high_res_top_margin_create(bg_cont, 0, true, c); in lv_demo_high_res_app_about() local
78 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_about()
Dlv_demo_high_res_app_ev_charging.c118 lv_obj_t * top_margin = lv_demo_high_res_top_margin_create(bg_cont, 0, true, c); in lv_demo_high_res_app_ev_charging() local
123 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_ev_charging()
Dlv_demo_high_res_app_smart_meter.c97 lv_obj_t * top_margin = lv_demo_high_res_top_margin_create(bg_cont, 0, true, c); in lv_demo_high_res_app_smart_meter() local
102 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_smart_meter()
Dlv_demo_high_res_app_thermostat.c84 lv_obj_t * top_margin = lv_demo_high_res_top_margin_create(bg_cont, 0, true, c); in lv_demo_high_res_app_thermostat() local
89 lv_obj_align_to(app_info, top_margin, LV_ALIGN_OUT_BOTTOM_LEFT, 0, c->sz->gap[7]); in lv_demo_high_res_app_thermostat()