From bd259fe87f2b34f8ecde7763315eb9a222b7a88c Mon Sep 17 00:00:00 2001 From: pythonic64 Date: Sun, 21 Dec 2025 17:13:31 +0100 Subject: [PATCH] SimpleApp: Set halign and padding for the label. --- examples/simple_app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/simple_app.py b/examples/simple_app.py index d882c13..6f04617 100644 --- a/examples/simple_app.py +++ b/examples/simple_app.py @@ -6,6 +6,9 @@ Builder.load_string(""" : + halign: 'left' + text_size: self.width, None + padding: '10dp', 0 canvas.before: Color: rgba: [0, 0.5, 0, 1] if self.hovered else [0.5, 0.5, 0.5, 1]