fix(msgbox) fix size settings

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-13 17:27:09 +02:00
parent 052c3c9f3e
commit a2a65d48a5
3 changed files with 13 additions and 10 deletions

View File

@@ -140,7 +140,7 @@ bool lv_obj_refr_size(lv_obj_t * obj)
lv_coord_t minh = lv_obj_get_style_min_height(obj, LV_PART_MAIN);
lv_coord_t maxh = lv_obj_get_style_max_height(obj, LV_PART_MAIN);
h = lv_clamp_width(h, minh, maxh, parent_h);
h = lv_clamp_height(h, minh, maxh, parent_h);
}
/*calc_auto_size set the scroll x/y to 0 so revert the original value*/