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