M5Stack PaperS3 improvements and other bug fixes (#512)

This commit is contained in:
Shadowtrance
2026-03-07 06:45:56 +10:00
committed by GitHub
parent 9fc0aa51d7
commit 2de35b2d2d
28 changed files with 1141 additions and 372 deletions
+1 -1
View File
@@ -192,8 +192,8 @@ lv_obj_t* statusbar_create(lv_obj_t* parent) {
auto* image = lv_image_create(obj);
lv_obj_set_size(image, icon_size, icon_size); // regular padding doesn't work
lv_obj_set_style_text_font(image, lvgl_get_statusbar_icon_font(), LV_STATE_DEFAULT);
lv_obj_set_style_text_color(image, lv_color_white(), LV_STATE_DEFAULT);
lv_obj_set_style_pad_all(image, 0, LV_STATE_DEFAULT);
obj_set_style_bg_blacken(image);
statusbar->icons[i] = image;
update_icon(image, &(statusbar_data.icons[i]));