From 4c6597a6086425a0585cbeef3d17a266ce70bd91 Mon Sep 17 00:00:00 2001 From: Michael Ragazzon Date: Tue, 3 Oct 2023 22:39:24 +0200 Subject: [PATCH] Samples: Make input text fields left-aligned --- Samples/assets/invader.rcss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Samples/assets/invader.rcss b/Samples/assets/invader.rcss index c2e237841..a31b02f9a 100644 --- a/Samples/assets/invader.rcss +++ b/Samples/assets/invader.rcss @@ -302,6 +302,7 @@ input.text, input.password padding: 11dp 10dp 0; decorator: tiled-horizontal( text-l, text-c, auto ); /* Right becomes mirrored left */ cursor: text; + text-align: left; } textarea @@ -309,6 +310,7 @@ textarea padding: 14dp 12dp 10dp; decorator: ninepatch( textarea, textarea-inner, 1.0 ); cursor: text; + text-align: left; } input.text,