Skip to content

Commit 17ab800

Browse files
committed
fix: correct font size and include
Co-authored-by: @leonardocavagnis <[email protected]>
1 parent d9d24d7 commit 17ab800

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: examples/lvgl/squarelinestudio_lvgl/squarelinestudio_lvgl.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "Arduino_GigaDisplayTouch.h"
2424

2525
#include "lvgl.h"
26-
#include "ui/ui.h"
26+
#include "ui.h"
2727

2828
/* Initialize the GIGA Display Shield with a resolution of 800x480 pixels */
2929
Arduino_H7_Video Display(800, 480, GigaDisplayShield);

Diff for: examples/lvgl/squarelinestudio_lvgl/ui/src/ui_Screen1.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ void ui_Screen1_screen_init(void)
2323
lv_obj_set_y(ui_Label1, 11);
2424
lv_obj_set_align(ui_Label1, LV_ALIGN_CENTER);
2525
lv_label_set_text(ui_Label1, "Button");
26-
lv_obj_set_style_text_font(ui_Label1, &lv_font_montserrat_46, LV_PART_MAIN | LV_STATE_DEFAULT);
26+
lv_obj_set_style_text_font(ui_Label1, &lv_font_montserrat_14, LV_PART_MAIN | LV_STATE_DEFAULT);
2727

2828
}

0 commit comments

Comments
 (0)