Lines Matching refs:hour_label
196 lv_obj_t * hour_label = lv_label_create(panel); in lv_demo_smartwatch_weather_add_hourly() local
197 lv_obj_set_width(hour_label, 80); in lv_demo_smartwatch_weather_add_hourly()
198 lv_obj_set_height(hour_label, LV_SIZE_CONTENT); in lv_demo_smartwatch_weather_add_hourly()
199 lv_obj_set_align(hour_label, LV_ALIGN_CENTER); in lv_demo_smartwatch_weather_add_hourly()
200 lv_label_set_text_fmt(hour_label, info ? "Hour" : "%02d:00", hour); in lv_demo_smartwatch_weather_add_hourly()
201 lv_obj_set_style_text_align(hour_label, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
202 lv_obj_set_style_text_font(hour_label, &lv_font_montserrat_16, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
203 …lv_obj_set_style_border_color(hour_label, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
204 lv_obj_set_style_border_opa(hour_label, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
205 lv_obj_set_style_border_width(hour_label, 1, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()
206 … lv_obj_set_style_border_side(hour_label, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT); in lv_demo_smartwatch_weather_add_hourly()