From 7e23ccaaf19683edc54084d10f2d38c867c4d69b Mon Sep 17 00:00:00 2001 From: Jason P Date: Sat, 28 Jun 2025 00:06:20 -0500 Subject: [PATCH] Small changes for EInk to not crowd elements --- src/graphics/draw/UIRenderer.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/graphics/draw/UIRenderer.cpp b/src/graphics/draw/UIRenderer.cpp index 1738a8246..1d33d5d0c 100644 --- a/src/graphics/draw/UIRenderer.cpp +++ b/src/graphics/draw/UIRenderer.cpp @@ -601,7 +601,11 @@ void UIRenderer::drawDeviceFocused(OLEDDisplay *display, OLEDDisplayUiState *sta int chutil_bar_width = (isHighResolution) ? 100 : 50; if (!config.bluetooth.enabled) { +#if defined(USE_EINK) + chutil_bar_width = (isHighResolution) ? 50 : 30; +#else chutil_bar_width = (isHighResolution) ? 80 : 40; +#endif } int chutil_bar_height = (isHighResolution) ? 12 : 7; int extraoffset = (isHighResolution) ? 6 : 3;