From d53b8735568fbd5498743a448126ad23bb37e11d Mon Sep 17 00:00:00 2001 From: Avra Mitra Date: Mon, 30 Aug 2021 14:38:04 +0530 Subject: [PATCH] Corrected a function name in obj.md (#2511) In the example of `lv_obj_align_to(obj_to_align, obj_referece, LV_ALIGN_..., x, y)`, the function name was written as `lv_obj_align()`. --- docs/widgets/obj.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/obj.md b/docs/widgets/obj.md index 68dbbd673..ca3e9bab8 100644 --- a/docs/widgets/obj.md +++ b/docs/widgets/obj.md @@ -42,7 +42,7 @@ lv_obj_align(obj, LV_ALIGN_CENTER, 10, 20); To align one object to another use `lv_obj_align_to(obj_to_align, obj_referece, LV_ALIGN_..., x, y)` -For example, to align a text below an image: `lv_obj_align(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)`. +For example, to align a text below an image: `lv_obj_align_to(text, image, LV_ALIGN_OUT_BOTTOM_MID, 0, 10)`. The following align types exist: ![](/misc/align.png "Alignment types in LVGL")