theme and minor drawin fixes

This commit is contained in:
Gabor Kiss-Vamosi
2019-11-16 11:22:23 +01:00
parent 37cd768e99
commit 5001c4e6a9
6 changed files with 44 additions and 43 deletions

View File

@@ -254,6 +254,10 @@ static void slider_init(void)
knob.body.border.width = 0;
knob.body.main_color = theme.style.bar.indic->body.main_color;
knob.body.grad_color = knob.body.main_color;
knob.body.padding.left = LV_DPI/25;
knob.body.padding.right = LV_DPI/25;
knob.body.padding.top = LV_DPI/25;
knob.body.padding.bottom = LV_DPI/25;
theme.style.slider.bg = theme.style.bar.bg;
theme.style.slider.indic = theme.style.bar.indic;
@@ -758,6 +762,7 @@ static void table_init(void)
cell.body.padding.right = LV_DPI / 12;
cell.body.padding.top = LV_DPI / 12;
cell.body.padding.bottom = LV_DPI / 12;
cell.body.shadow.width = 0;
theme.style.table.bg = &lv_style_transp_tight;
theme.style.table.cell = &cell;