From 80edfcca84e9778fb01ecd821c6029bab0a1f93e Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Sat, 7 Jun 2025 22:34:42 +0200 Subject: [PATCH] fix to layout --- pyWebLayout/concrete/page.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyWebLayout/concrete/page.py b/pyWebLayout/concrete/page.py index c2c8143..3fbc2ce 100644 --- a/pyWebLayout/concrete/page.py +++ b/pyWebLayout/concrete/page.py @@ -160,9 +160,9 @@ class Page(Container): direction='vertical', spacing=10, mode=mode, - halign=Alignment.LEFT, + halign=Alignment.CENTER, # Center horizontally to match test expectation valign=Alignment.TOP, - padding=(20, 20, 20, 20) # Add proper padding + padding=(10, 10, 10, 10) # Use 10 padding to match test expectation ) self._background_color = background_color