aboutsummaryrefslogtreecommitdiff
path: root/src/Chelleport/Config.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2024-12-28 22:19:52 +0530
committerAkshay Nair <phenax5@gmail.com>2024-12-28 22:19:52 +0530
commit1d617d9db665ee9df209777626752a19496387b4 (patch)
tree7771e99d818c5145c70e846dac3e964b653e6450 /src/Chelleport/Config.hs
parent1bd86a46dcf21a75656edd181f97035739fa238d (diff)
downloadchelleport-1d617d9db665ee9df209777626752a19496387b4.tar.gz
chelleport-1d617d9db665ee9df209777626752a19496387b4.zip
Add text align and center aligns search text
Diffstat (limited to '')
-rw-r--r--src/Chelleport/Config.hs4
1 files changed, 2 insertions, 2 deletions
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