mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 03:33:48 +08:00
fix(theme) remove setting width and height in basic theme styles
This commit is contained in:
parent
46a21485a5
commit
ace2e6af68
@ -100,8 +100,6 @@ static void style_init(void)
|
||||
lv_style_set_line_color(&styles->light, COLOR_MID);
|
||||
lv_style_set_arc_width(&styles->light, LV_DPX(2));
|
||||
lv_style_set_arc_color(&styles->light, COLOR_MID);
|
||||
lv_style_set_width(&styles->light, 100);
|
||||
lv_style_set_height(&styles->light, 60);
|
||||
|
||||
|
||||
style_init_reset(&styles->dark);
|
||||
@ -115,8 +113,6 @@ static void style_init(void)
|
||||
lv_style_set_line_color(&styles->dark, COLOR_DIM);
|
||||
lv_style_set_arc_width(&styles->dark, LV_DPX(2));
|
||||
lv_style_set_arc_color(&styles->dark, COLOR_DIM);
|
||||
lv_style_set_width(&styles->dark, 100);
|
||||
lv_style_set_height(&styles->dark, 60);
|
||||
|
||||
static lv_color_filter_dsc_t dark_filter;
|
||||
lv_color_filter_dsc_init(&dark_filter, dark_color_filter_cb);
|
||||
|
Loading…
Reference in New Issue
Block a user