| 21 | } |
| 22 | |
| 23 | static const _lv_font_t* getToolbarFont(UiDensity uiDensity) { |
| 24 | if (uiDensity == LVGL_UI_DENSITY_COMPACT) { |
| 25 | return lvgl_get_text_font(FONT_SIZE_DEFAULT); |
| 26 | } else { |
| 27 | return lvgl_get_text_font(FONT_SIZE_LARGE); |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | static uint32_t getActionIconPadding(UiDensity uiDensity) { |
| 32 | auto toolbar_height = getToolbarHeight(uiDensity); |
no test coverage detected