Label font size


I want to increase the font size of a labels, is there any form to increase without change the font?

What MCU/Processor/Board and compiler are you using?

ESP32 with Arduino IDE an ILI9341 display

What LVGL version are you using?


What do you want to achieve?

show bigger labels

Code to reproduce

label_hum = lv_label_create(bg_middle1, NULL);
    lv_label_set_long_mode(label_hum, LV_LABEL_LONG_SROLL_CIRC);
    lv_obj_set_width(label_hum, LV_HOR_RES - 20);
    lv_label_set_text(label_hum, "HUMEDAD: ");
    lv_obj_align(label_hum, NULL,LV_LABEL_ALIGN_LEFT, 80,70);

You have to use a different font; there is no font resizing support in LVGL right now (aside from FreeType, which is unlikely to be what you want).