mirror of
https://github.com/skoelle/wt32sc01-dashboard.git
synced 2026-09-18 09:50:25 +00:00
more UI fixes
This commit is contained in:
@@ -58,13 +58,13 @@ void buildList() {
|
||||
// time column
|
||||
lv_obj_t *time_label = lv_label_create(row);
|
||||
lv_label_set_text(time_label, hhmm.c_str());
|
||||
lv_obj_set_style_text_color(time_label, Theme::text(), 0);
|
||||
lv_obj_set_style_text_color(time_label, lv_color_hex(0xFFFFFF), 0);
|
||||
lv_obj_align(time_label, LV_ALIGN_TOP_LEFT, 44, 0);
|
||||
|
||||
// degree column
|
||||
lv_obj_t *temp_label = lv_label_create(row);
|
||||
lv_label_set_text(temp_label, (String(fe.temperature) + "C").c_str());
|
||||
lv_obj_set_style_text_color(temp_label, Theme::text(), 0);
|
||||
lv_obj_set_style_text_color(temp_label, lv_color_hex(0xFFFFFF), 0);
|
||||
lv_obj_align(temp_label, LV_ALIGN_TOP_LEFT, 160, 0);
|
||||
|
||||
// text column
|
||||
|
||||
Reference in New Issue
Block a user