minor fixes

This commit is contained in:
Gabor Kiss-Vamosi 2018-09-13 22:50:05 +02:00
parent 9c601ef49b
commit c8ac841fbb
3 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,7 @@ CSRCS += lv_preload.c
CSRCS += lv_roller.c
CSRCS += lv_tabview.c
CSRCS += lv_btn.c
CSRCS += lv_calendar.c
CSRCS += lv_chart.c
CSRCS += lv_gauge.c
CSRCS += lv_label.c

View File

@ -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*/
if(copy == NULL) {
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*/
else {

View File

@ -77,6 +77,7 @@ static void basic_init(void)
sb.body.main_color = LV_COLOR_BLACK;
sb.body.grad_color = LV_COLOR_BLACK;
sb.body.opa = LV_OPA_40;
sb.body.padding.hor = LV_DPI / 25;
theme.bg = &bg;
theme.panel = &panel;