use roboto font

This commit is contained in:
gagarinlg
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent f7c0d58281
commit ac5a7bef0d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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);