minor fixes
This commit is contained in:
@@ -9,6 +9,7 @@ CSRCS += lv_preload.c
|
|||||||
CSRCS += lv_roller.c
|
CSRCS += lv_roller.c
|
||||||
CSRCS += lv_tabview.c
|
CSRCS += lv_tabview.c
|
||||||
CSRCS += lv_btn.c
|
CSRCS += lv_btn.c
|
||||||
|
CSRCS += lv_calendar.c
|
||||||
CSRCS += lv_chart.c
|
CSRCS += lv_chart.c
|
||||||
CSRCS += lv_gauge.c
|
CSRCS += lv_gauge.c
|
||||||
CSRCS += lv_label.c
|
CSRCS += lv_label.c
|
||||||
|
|||||||
@@ -96,6 +96,7 @@ lv_obj_t * lv_preload_create(lv_obj_t * par, const lv_obj_t * copy)
|
|||||||
/*Init the new pre loader pre loader*/
|
/*Init the new pre loader pre loader*/
|
||||||
if(copy == NULL) {
|
if(copy == NULL) {
|
||||||
lv_obj_set_style(new_preload, &lv_style_pretty_color);
|
lv_obj_set_style(new_preload, &lv_style_pretty_color);
|
||||||
|
lv_obj_set_size(new_preload, LV_DPI / 2, LV_DPI / 2);
|
||||||
}
|
}
|
||||||
/*Copy an existing pre loader*/
|
/*Copy an existing pre loader*/
|
||||||
else {
|
else {
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ static void basic_init(void)
|
|||||||
sb.body.main_color = LV_COLOR_BLACK;
|
sb.body.main_color = LV_COLOR_BLACK;
|
||||||
sb.body.grad_color = LV_COLOR_BLACK;
|
sb.body.grad_color = LV_COLOR_BLACK;
|
||||||
sb.body.opa = LV_OPA_40;
|
sb.body.opa = LV_OPA_40;
|
||||||
|
sb.body.padding.hor = LV_DPI / 25;
|
||||||
|
|
||||||
theme.bg = &bg;
|
theme.bg = &bg;
|
||||||
theme.panel = &panel;
|
theme.panel = &panel;
|
||||||
|
|||||||
Reference in New Issue
Block a user