diff --git a/docs/details/base-widget/obj.rst b/docs/details/base-widget/obj.rst index 7946f607f..39e4ada02 100644 --- a/docs/details/base-widget/obj.rst +++ b/docs/details/base-widget/obj.rst @@ -191,7 +191,18 @@ outside will not be visible. This behavior can be overwritten with :cpp:expr:`lv_obj_add_flag(widget, LV_OBJ_FLAG_OVERFLOW_VISIBLE)` which allow the -children to be drawn out of the parent. +children to be drawn out of the parent. In addition to this, you must register +the following event callback (this was not required in previous versions). + +Note: ``ext_width`` should be the maximum absolute width the children will be +drawn within. + +.. code-block:: c + + static void ext_draw_size_event_cb(lv_event_t * e) + { + lv_event_set_ext_draw_size(e, 30); /*Set 30px extra draw area around the widget*/ + } Create and delete Widgets -------------------------