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

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