1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

lv_win_set_content_size: fix setting the size

This commit is contained in:
Gabor Kiss-Vamosi 2019-10-03 06:11:40 +02:00
parent de96092537
commit abb480f988

View File

@ -254,6 +254,8 @@ void lv_win_set_content_size(lv_obj_t * win, lv_coord_t w, lv_coord_t h)
lv_win_ext_t * ext = lv_obj_get_ext_attr(win);
h += lv_obj_get_height(ext->header);
lv_obj_set_size(win, w, h);
}
/**