mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 11:43:43 +08:00
minor fixes
This commit is contained in:
parent
9c601ef49b
commit
c8ac841fbb
@ -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
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user