Skip to content

How to set the font size for lv_label? #358

@lybgo

Description

@lybgo

How to set the font size for lv_label?
lvgl pro version: 1.1.2
<lv_label text="data" style_text_font="lv_font_montserrat_28" />

error log:
[LVGL] [Warn] (1535.431, +0) lv_xml_get_font: No font was found with name "lv_font_montserrat_28". Using LV_FONT_DEFAULT instead. lv_xml.c:446

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions