Skip to content

Commit

Permalink
fix: correct font size and include
Browse files Browse the repository at this point in the history
  • Loading branch information
aliphys committed Jun 7, 2024
1 parent d9d24d7 commit 17ab800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "Arduino_GigaDisplayTouch.h"

#include "lvgl.h"
#include "ui/ui.h"
#include "ui.h"

/* Initialize the GIGA Display Shield with a resolution of 800x480 pixels */
Arduino_H7_Video Display(800, 480, GigaDisplayShield);
Expand Down
2 changes: 1 addition & 1 deletion examples/lvgl/squarelinestudio_lvgl/ui/src/ui_Screen1.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ void ui_Screen1_screen_init(void)
lv_obj_set_y(ui_Label1, 11);
lv_obj_set_align(ui_Label1, LV_ALIGN_CENTER);
lv_label_set_text(ui_Label1, "Button");
lv_obj_set_style_text_font(ui_Label1, &lv_font_montserrat_46, LV_PART_MAIN | LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui_Label1, &lv_font_montserrat_14, LV_PART_MAIN | LV_STATE_DEFAULT);

}

0 comments on commit 17ab800

Please sign in to comment.