From dd5adccc321f0c84a8d4bebb9c3225d07b08c076 Mon Sep 17 00:00:00 2001 From: clydebarrow <2366188+clydebarrow@users.noreply.github.com> Date: Thu, 13 Nov 2025 12:20:37 +1100 Subject: [PATCH] [lvgl] Document automatic padding on layouts --- content/components/lvgl/layouts.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/components/lvgl/layouts.md b/content/components/lvgl/layouts.md index a4bf537309..b334446153 100644 --- a/content/components/lvgl/layouts.md +++ b/content/components/lvgl/layouts.md @@ -41,6 +41,9 @@ The configuration `layout: horizontal` is a shorthand for a flex layout: flex_align_cross: stretch ``` +In addition, if the option `pad_all` is set on the container (thus applying padding to the outside) the same +padding will be applied between the columns, i.e. `pad_column` will be set. + ### Vertical Layout The configuration `layout: vertical` is a shorthand for a flex layout: @@ -54,6 +57,8 @@ The configuration `layout: vertical` is a shorthand for a flex layout: flex_align_cross: stretch ``` +Similarly to the `horizontal` layout, using `pad_all` on the container will also apply that padding between rows. + ### Flex The Flex layout in LVGL is a subset implementation