fix changing height of a window
This commit is contained in:
committed by
Raphael Coeffic
parent
6b70baf63a
commit
bc961b7b8f
@@ -529,6 +529,7 @@ coord_t Window::adjustHeight()
|
|||||||
coord_t old = rect.h;
|
coord_t old = rect.h;
|
||||||
adjustInnerHeight();
|
adjustInnerHeight();
|
||||||
rect.h = innerHeight;
|
rect.h = innerHeight;
|
||||||
|
lv_obj_set_style_height(getLvObj(), rect.h, LV_PART_MAIN);
|
||||||
return rect.h - old;
|
return rect.h - old;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user