use roboto font
This commit is contained in:
committed by
Raphael Coeffic
parent
f7c0d58281
commit
ac5a7bef0d
+1
-1
@@ -78,7 +78,7 @@ NumberEdit::NumberEdit(Window * parent, const rect_t & rect, int vmin, int vmax,
|
||||
lv_style_set_bg_color(&style_main, makeLvColor(COLOR_THEME_PRIMARY2));
|
||||
lv_style_set_bg_opa(&style_main, LV_OPA_COVER);
|
||||
//lv_style_set_radius(&style_main, 0);
|
||||
lv_style_set_text_font(&style_main, &lv_font_montserrat_12);
|
||||
lv_style_set_text_font(&style_main, &lv_font_roboto_13);
|
||||
lv_style_set_text_color(&style_main, makeLvColor(COLOR_THEME_SECONDARY1));
|
||||
lv_obj_add_style(lvobj, &style_main, LV_PART_MAIN);
|
||||
|
||||
|
||||
+1
-1
@@ -71,7 +71,7 @@ TextEdit::TextEdit(Window *parent, const rect_t &rect, char *value,
|
||||
lv_style_set_bg_color(&style_main, makeLvColor(COLOR_THEME_PRIMARY2));
|
||||
lv_style_set_bg_opa(&style_main, LV_OPA_COVER);
|
||||
//lv_style_set_radius(&style_main, 0);
|
||||
lv_style_set_text_font(&style_main, &lv_font_montserrat_12);
|
||||
lv_style_set_text_font(&style_main, &lv_font_roboto_13);
|
||||
lv_style_set_text_color(&style_main, makeLvColor(COLOR_THEME_SECONDARY1));
|
||||
lv_obj_add_style(lvobj, &style_main, LV_PART_MAIN);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user