From f328cc47e47d8be5e2382143c3ab3a42f13341c7 Mon Sep 17 00:00:00 2001 From: Szymon Chmal Date: Tue, 10 Feb 2026 09:35:35 +0100 Subject: [PATCH] fix: text alignment --- .../flex-playground/FlexPlaygroundScreen.tsx | 34 +++++++++++++++++++ ios/ui/Style/CompositeStyle.swift | 3 +- ios/ui/Style/View+applyStyle.swift | 18 +++++++++- ios/ui/Views/VoltraHStack.swift | 5 +++ ios/ui/Views/VoltraText.swift | 10 +++++- ios/ui/Views/VoltraVStack.swift | 5 +++ src/styles/types.ts | 1 + 7 files changed, 73 insertions(+), 3 deletions(-) diff --git a/example/screens/testing-grounds/flex-playground/FlexPlaygroundScreen.tsx b/example/screens/testing-grounds/flex-playground/FlexPlaygroundScreen.tsx index 50a34c8e..72d90bc4 100644 --- a/example/screens/testing-grounds/flex-playground/FlexPlaygroundScreen.tsx +++ b/example/screens/testing-grounds/flex-playground/FlexPlaygroundScreen.tsx @@ -180,6 +180,40 @@ export default function FlexPlaygroundScreen() { + {/* Text Align Test */} + + Text Align in Flex + Text alignment within stretched flex children + + + + + textAlign: left + + + + textAlign: center + + + + + textAlign: right + + + + + +