minor visual change
This commit is contained in:
@@ -261,7 +261,7 @@ static void create_time_bar(lv_obj_t *parent)
|
|||||||
static void create_main_section(lv_obj_t *parent)
|
static void create_main_section(lv_obj_t *parent)
|
||||||
{
|
{
|
||||||
/* === Left column: Services + Pi Vitals === */
|
/* === Left column: Services + Pi Vitals === */
|
||||||
create_label(parent, 4, MAIN_Y + 2, &InziuIosevka_Slab_CC_12px, "SERVICES");
|
create_label(parent, 4, MAIN_Y + 1, &InziuIosevka_Slab_CC_12px, "SERVICES");
|
||||||
|
|
||||||
tbl_services = lv_table_create(parent);
|
tbl_services = lv_table_create(parent);
|
||||||
lv_obj_set_pos(tbl_services, 4, MAIN_Y + 16);
|
lv_obj_set_pos(tbl_services, 4, MAIN_Y + 16);
|
||||||
@@ -281,8 +281,8 @@ static void create_main_section(lv_obj_t *parent)
|
|||||||
lv_table_set_cell_value(tbl_services, i, 1, "---");
|
lv_table_set_cell_value(tbl_services, i, 1, "---");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Auto-scroll timer: 1 second period */
|
/* Auto-scroll timer: 2 second period */
|
||||||
s_scroll_timer = lv_timer_create(scroll_timer_cb, 1000, NULL);
|
s_scroll_timer = lv_timer_create(scroll_timer_cb, 2048, NULL);
|
||||||
|
|
||||||
/* === Left column: Pi Vitals (below services) === */
|
/* === Left column: Pi Vitals (below services) === */
|
||||||
int rx = 0;
|
int rx = 0;
|
||||||
@@ -294,7 +294,7 @@ static void create_main_section(lv_obj_t *parent)
|
|||||||
int temp_x = rx + 155; /* TEMP column, right of value labels */
|
int temp_x = rx + 155; /* TEMP column, right of value labels */
|
||||||
|
|
||||||
/* Pi Vitals header */
|
/* Pi Vitals header */
|
||||||
create_label(parent, rx + 4, 177, &InziuIosevka_Slab_CC_12px, "PI VITALS");
|
create_label(parent, rx + 4, 175, &InziuIosevka_Slab_CC_12px, "PI VITALS");
|
||||||
|
|
||||||
int ry = 192;
|
int ry = 192;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user