Home
last modified time | relevance | path

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

/lvgl-latest/demos/smartwatch/
Dlv_demo_smartwatch_weather.c149 lv_obj_t * label_day = lv_label_create(panel); in lv_demo_smartwatch_weather_add_daily() local
150 lv_obj_set_width(label_day, 68); in lv_demo_smartwatch_weather_add_daily()
151 lv_obj_set_height(label_day, LV_SIZE_CONTENT); in lv_demo_smartwatch_weather_add_daily()
152 lv_obj_set_x(label_day, -56); in lv_demo_smartwatch_weather_add_daily()
153 lv_obj_set_y(label_day, 3); in lv_demo_smartwatch_weather_add_daily()
154 lv_obj_set_align(label_day, LV_ALIGN_CENTER); in lv_demo_smartwatch_weather_add_daily()
155 lv_label_set_long_mode(label_day, LV_LABEL_LONG_CLIP); in lv_demo_smartwatch_weather_add_daily()
156 lv_label_set_text(label_day, week_days[day % 7]); in lv_demo_smartwatch_weather_add_daily()
157 lv_obj_set_style_text_font(label_day, &lv_font_montserrat_20, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_daily()