ウィジェットデザイン調整

This commit is contained in:
harukin-expo-dev-env 2024-03-24 14:17:27 +00:00
parent 720b627011
commit 8a5251462a

View File

@ -23,9 +23,10 @@ export function TraInfoEXWidget({ time, delayString }) {
justifyContent: "center",
alignItems: "center",
backgroundColor: "#0099CC",
width: "match_parent",
width: "100%",
flexDirection: "row",
padding: 10,
paddingTop: 10,
paddingBottom: 10,
}}
>
<TextWidget
@ -35,15 +36,19 @@ export function TraInfoEXWidget({ time, delayString }) {
fontWeight: "bold",
fontFamily: "Inter",
color: "#fff",
textAlign: "left",
marginLeft: 10,
}}
/>
<FlexWidget style={{ flex: 1 }} />
<TextWidget
text={time}
style={{
fontSize: 32,
fontSize: 30,
fontFamily: "Inter",
color: "#fff",
textAlign: "right",
marginRight: 10,
}}
/>
</FlexWidget>