refactor(color): UI layout logic to better handle different screen sizes and orientations (#6134)

This commit is contained in:
philmoz
2025-05-06 13:49:58 +10:00
committed by GitHub
parent 719324e46d
commit fa54a44f3d
422 changed files with 390029 additions and 394862 deletions
+2
View File
@@ -50,6 +50,8 @@ using std::list;
#define TRACE_LABELS(...)
#endif
LAYOUT_SIZE(LABEL_TRUNCATE_LENGTH, 21, 16)
ModelsList modelslist;
ModelMap modelslabels;
-6
View File
@@ -43,12 +43,6 @@
#define DEFAULT_MODEL_SORT NAME_ASC
#if !PORTRAIT_LCD // Landscape
#define LABEL_TRUNCATE_LENGTH 21
#else
#define LABEL_TRUNCATE_LENGTH 16
#endif
struct ModelData;
struct ModuleData;