Skip to content

Commit

Permalink
bigger font
Browse files Browse the repository at this point in the history
  • Loading branch information
neonman63 authored Oct 11, 2024
1 parent ab0a66c commit 4f188b0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/file_panel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace fs = std::experimental::filesystem;

#define THUMBSCALE = 0.78

LV_FONT_DECLARE(notosans_14);
LV_FONT_DECLARE(notosans_16);

FilePanel::FilePanel(lv_obj_t *parent)
: file_cont(lv_obj_create(parent))
Expand All @@ -28,8 +28,7 @@ FilePanel::FilePanel(lv_obj_t *parent)
lv_obj_set_width(fname_label, LV_PCT(90));
lv_label_set_long_mode(fname_label, LV_LABEL_LONG_SCROLL);
lv_obj_set_style_text_align(fname_label, LV_TEXT_ALIGN_CENTER, 0);
lv_obj_set_style_text_font(fname_label, &notosans_14, LV_STATE_DEFAULT);
lv_obj_set_style_text_font(detail_label, &notosans_14, LV_STATE_DEFAULT);
lv_obj_set_style_text_font(fname_label, &notosans_16, LV_STATE_DEFAULT);


static lv_coord_t grid_main_row_dsc[] = {LV_GRID_FR(3), LV_GRID_FR(2), LV_GRID_TEMPLATE_LAST};
Expand Down

0 comments on commit 4f188b0

Please sign in to comment.