theme updates
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user