From bfcceca868b72f17bd825b141e948fec57ae7b6a Mon Sep 17 00:00:00 2001 From: Athroniaeth <76869761+Athroniaeth@users.noreply.github.com> Date: Wed, 28 May 2025 09:40:50 +0200 Subject: [PATCH] =?UTF-8?q?The=20docs=20recommends=20=E2=80=9Chorizontal?= =?UTF-8?q?=E2=80=9D=20parameter=20for=20a=20vertical=20margin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hello, maybe I'm wrong but the horizontal margin is the left/right margin and not the top/bottom margin (when I test it I have to put vertical to reproduce the example in the image). --- docs/reference/types/padding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/types/padding.md b/docs/reference/types/padding.md index a9b82ffc..e0112d38 100644 --- a/docs/reference/types/padding.md +++ b/docs/reference/types/padding.md @@ -47,7 +47,7 @@ Applies padding to the specified sides. ```python container_1.padding = ft.padding.all(10) container_2.padding = 20 # same as ft.padding.all(20) -container_3.padding = ft.padding.symmetric(horizontal=10) +container_3.padding = ft.padding.symmetric(vertical=10) container_4.padding=padding.only(left=10) ```