Unbreak styling of message box label
This commit is contained in:
@@ -16,7 +16,7 @@ If a change only affects particular applications, they are listed in parentheses
|
|||||||
- feat(buffyboard): Allow disabling input devices via config
|
- feat(buffyboard): Allow disabling input devices via config
|
||||||
- feat(buffyboard): Add CLI flags for overriding geometry & DPI
|
- feat(buffyboard): Add CLI flags for overriding geometry & DPI
|
||||||
- fix(unl0kr): Shutdown message box doesn't close on decline
|
- fix(unl0kr): Shutdown message box doesn't close on decline
|
||||||
- fix(unl0kr): Shutdown message box buttons are unstyled
|
- fix(unl0kr): Shutdown message box buttons and label are unstyled
|
||||||
- fix(unl0kr): Build fails when DRM is disabled
|
- fix(unl0kr): Build fails when DRM is disabled
|
||||||
- misc: Update lvgl to git master (2023-03-30)
|
- misc: Update lvgl to git master (2023-03-30)
|
||||||
|
|
||||||
|
@@ -285,8 +285,11 @@ static void apply_theme_cb(lv_theme_t *theme, lv_obj_t *obj) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lv_obj_check_type(obj, &lv_label_class) && (lv_obj_check_type(lv_obj_get_parent(obj), &lv_msgbox_class) || lv_obj_check_type(lv_obj_get_parent(obj), &lv_msgbox_content_class))) {
|
if (lv_obj_check_type(obj, &lv_label_class) &&
|
||||||
lv_obj_add_style(obj, &(styles.msgbox_label), 0);
|
(lv_obj_check_type(lv_obj_get_parent(obj), &lv_msgbox_class)
|
||||||
|
|| lv_obj_check_type(lv_obj_get_parent(obj), &lv_msgbox_header_class)
|
||||||
|
|| lv_obj_check_type(lv_obj_get_parent(obj), &lv_msgbox_content_class)))
|
||||||
|
{
|
||||||
return; /* Inherit styling from message box */
|
return; /* Inherit styling from message box */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user