mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-27 03:33:48 +08:00
parent
d658eef2a0
commit
037e828c8a
@ -210,7 +210,7 @@ lv_coord_t lv_cont_get_fit_height(lv_obj_t * cont)
|
||||
{
|
||||
lv_style_t * style = lv_cont_get_style(cont);
|
||||
|
||||
return lv_obj_get_width(cont) - 2 * style->body.padding.hor;
|
||||
return lv_obj_get_height(cont) - 2 * style->body.padding.ver;
|
||||
}
|
||||
|
||||
/**********************
|
||||
|
Loading…
Reference in New Issue
Block a user