mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
minor theme updates
This commit is contained in:
parent
20a13918d1
commit
679419b151
@ -327,6 +327,10 @@ static void slider_init(void)
|
||||
slider_knob.body.border.width = 1;
|
||||
slider_knob.body.border.color = LV_COLOR_GRAY;
|
||||
slider_knob.body.border.opa = LV_OPA_50;
|
||||
slider_knob.body.padding.left = LV_DPI/25;
|
||||
slider_knob.body.padding.right = LV_DPI/25;
|
||||
slider_knob.body.padding.top = LV_DPI/25;
|
||||
slider_knob.body.padding.bottom = LV_DPI/25;
|
||||
|
||||
theme.style.slider.bg = &bar_bg;
|
||||
theme.style.slider.indic = &bar_indic;
|
||||
|
@ -217,7 +217,7 @@ static void bar_init(void)
|
||||
bar_bg.body.padding.top = LV_DPI / 16;
|
||||
bar_bg.body.padding.bottom = LV_DPI / 16;
|
||||
bar_bg.body.radius = LV_RADIUS_CIRCLE;
|
||||
bar_bg.body.corner_mask = 1;
|
||||
// bar_bg.body.corner_mask = 1;
|
||||
|
||||
lv_style_copy(&bar_indic, &def);
|
||||
bar_indic.body.main_color = lv_color_hsv_to_rgb(_hue, 80, 70);
|
||||
|
Loading…
x
Reference in New Issue
Block a user