use roboto font

This commit is contained in:
gagarinlg
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent 66c500799c
commit f7c0d58281
+1
View File
@@ -32,6 +32,7 @@ class StaticText: public Window
label = lv_label_create(lvobj);
lv_label_set_text(label, this->text.c_str());
lv_obj_set_style_text_font(lvobj, &lv_font_roboto_13, LV_PART_MAIN);
lv_obj_set_style_text_color(label, makeLvColor(textFlags), LV_PART_MAIN);
if (textFlags & CENTERED)
lv_obj_center(label);