2018197_en-US

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

2018197_en-US

2018197_en-US

Change Gui Guider font size

What is the proper #include for standard fonts in Gui Guider-1.8.1-GA?

This works in custom code.

    lv_obj_set_style_text_font(ui_Label_Timer, &lv_font_montserrat_12, LV_PART_MAIN | LV_STATE_DEFAULT);

But, changing font size results in a compilation failed.  This font has no issue in the UI editor.

    lv_obj_set_style_text_font(ui_Label_Timer, &lv_font_montserrat_24, LV_PART_MAIN | LV_STATE_DEFAULT);

Re: Change Gui Guider font size

Hi @Johnny5 

If you want to add lv_font_montserratMedium_12, 

Please declare in file gui_guider.h

Harry_Zhang_0-1734944098008.png

BR

Harry

Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:34 PM
Updated by: