theme updates

This commit is contained in:
Gabor Kiss-Vamosi
2020-04-14 09:55:11 +02:00
parent 634df1da8a
commit e5254bdfef
12 changed files with 169 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ lv_obj_t * lv_switch_create(lv_obj_t * par, const lv_obj_t * copy)
if(copy == NULL) {
lv_obj_set_click(sw, true);
lv_obj_add_protect(sw, LV_PROTECT_PRESS_LOST);
lv_obj_set_size(sw, 4 * LV_DPI / 10, LV_DPI / 4);
lv_obj_set_size(sw, LV_DPX(70), LV_DPX(40));
lv_bar_set_range(sw, 0, 1);
lv_theme_apply(sw, LV_THEME_SWITCH);