From bc3ca3892f5753bebd678246f0aaeb31a8c43025 Mon Sep 17 00:00:00 2001 From: themacboy Date: Sat, 2 Mar 2024 21:57:00 +0100 Subject: [PATCH] Some visual UI tweaks for ESP32-8048S043C (#57) * Some visual UI tweaks * more visual UI tweaks adjustements --- CYD-Klipper/boards/esp32-8048S043C-smartdisplay.json | 12 ++++++------ CYD-Klipper/src/conf/lv_conf.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CYD-Klipper/boards/esp32-8048S043C-smartdisplay.json b/CYD-Klipper/boards/esp32-8048S043C-smartdisplay.json index cdf84a2..d98466a 100644 --- a/CYD-Klipper/boards/esp32-8048S043C-smartdisplay.json +++ b/CYD-Klipper/boards/esp32-8048S043C-smartdisplay.json @@ -97,12 +97,12 @@ "-DCYD_SCREEN_WIDTH_PX=800", "-DROTATION_INVERTED=LV_DISP_ROT_180", "-DROTATION_NORMAL=LV_DISP_ROT_NONE", - "-DCYD_SCREEN_GAP_PX=10", - "-DCYD_SCREEN_MIN_BUTTON_HEIGHT_PX=40", - "-DCYD_SCREEN_MIN_BUTTON_WIDTH_PX=40", - "-DCYD_SCREEN_FONT=lv_font_montserrat_16", - "-DCYD_SCREEN_FONT_SMALL=lv_font_montserrat_12", - "-DCYD_SCREEN_SIDEBAR_SIZE_PX=50", + "-DCYD_SCREEN_GAP_PX=15", + "-DCYD_SCREEN_MIN_BUTTON_HEIGHT_PX=60", + "-DCYD_SCREEN_MIN_BUTTON_WIDTH_PX=60", + "-DCYD_SCREEN_FONT=lv_font_montserrat_22", + "-DCYD_SCREEN_FONT_SMALL=lv_font_montserrat_16", + "-DCYD_SCREEN_SIDEBAR_SIZE_PX=70", "-DCYD_SCREEN_DRIVER_ESP32_SMARTDISPLAY=1", "-DCYD_SCREEN_DISABLE_TOUCH_CALIBRATION=1" ], diff --git a/CYD-Klipper/src/conf/lv_conf.h b/CYD-Klipper/src/conf/lv_conf.h index 76bbcbe..dde62e5 100644 --- a/CYD-Klipper/src/conf/lv_conf.h +++ b/CYD-Klipper/src/conf/lv_conf.h @@ -336,7 +336,7 @@ #define LV_FONT_MONTSERRAT_16 1 #define LV_FONT_MONTSERRAT_18 0 #define LV_FONT_MONTSERRAT_20 0 -#define LV_FONT_MONTSERRAT_22 0 +#define LV_FONT_MONTSERRAT_22 1 #define LV_FONT_MONTSERRAT_24 0 #define LV_FONT_MONTSERRAT_26 0 #define LV_FONT_MONTSERRAT_28 1