fix to layout
Some checks failed
Python CI / test (push) Failing after 4m10s

This commit is contained in:
Duncan Tourolle 2025-06-07 22:34:42 +02:00
parent 3f0b2747d2
commit 80edfcca84

View File

@ -160,9 +160,9 @@ class Page(Container):
direction='vertical', direction='vertical',
spacing=10, spacing=10,
mode=mode, mode=mode,
halign=Alignment.LEFT, halign=Alignment.CENTER, # Center horizontally to match test expectation
valign=Alignment.TOP, 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 self._background_color = background_color