From 1d617d9db665ee9df209777626752a19496387b4 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 28 Dec 2024 22:19:52 +0530 Subject: Add text align and center aligns search text --- src/Chelleport/Config.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Chelleport/Config.hs') diff --git a/src/Chelleport/Config.hs b/src/Chelleport/Config.hs index 398e3d6..ab94dce 100644 --- a/src/Chelleport/Config.hs +++ b/src/Chelleport/Config.hs @@ -5,10 +5,10 @@ import Foreign.C (CFloat) import qualified SDL searchingTextStyle :: TextStyle -searchingTextStyle = TextStyle {textColor = colorWhite, textSize = FontSM} +searchingTextStyle = TextStyle {textColor = colorWhite, textSize = FontSM, textAlign = AlignCenter} hintLabelTextStyle :: TextStyle -hintLabelTextStyle = TextStyle {textColor = colorWhite, textSize = FontLG} +hintLabelTextStyle = TextStyle {textColor = colorWhite, textSize = FontLG, textAlign = AlignLeft} colorWhite :: Color colorWhite = SDL.V4 255 255 255 255 -- cgit v1.3.1