テキストのサイズ修正
This commit is contained in:
parent
fe5baba037
commit
fdc8b95406
@ -51,7 +51,7 @@ export const PositionBox: FC<stateBox> = (props) => {
|
|||||||
<View style={{ flex: 1 }} />
|
<View style={{ flex: 1 }} />
|
||||||
<View style={{ flexDirection: mode == 2 ? "row" : "column" }}>
|
<View style={{ flexDirection: mode == 2 ? "row" : "column" }}>
|
||||||
{firstText && (
|
{firstText && (
|
||||||
<Text style={mode == 2 ? boxTextStyle2 : boxTextStyle}>
|
<Text style={mode == 2 ? boxTextStyle2 : (isBetween ? boxTextStyle : boxTextStyleBig)}>
|
||||||
{firstText}
|
{firstText}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
@ -61,7 +61,7 @@ export const PositionBox: FC<stateBox> = (props) => {
|
|||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
{secondText && (
|
{secondText && (
|
||||||
<Text style={mode == 2 ? boxTextStyle2 : boxTextStyle}>
|
<Text style={mode == 2 ? boxTextStyle2 :(isBetween ? boxTextStyle : boxTextStyleMini)}>
|
||||||
{secondText}
|
{secondText}
|
||||||
</Text>
|
</Text>
|
||||||
)}
|
)}
|
||||||
@ -101,6 +101,19 @@ const boxTextStyle2: TextStyle = {
|
|||||||
color: "#0099CC",
|
color: "#0099CC",
|
||||||
textAlign: "right",
|
textAlign: "right",
|
||||||
};
|
};
|
||||||
|
const boxTextStyleBig: TextStyle = {
|
||||||
|
fontSize: 28,
|
||||||
|
color: "#0099CC",
|
||||||
|
textAlign: "right",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
const boxTextStyleMini: TextStyle = {
|
||||||
|
fontSize: 16,
|
||||||
|
color: "#0099CC",
|
||||||
|
textAlign: "right",
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
const boxTextStyle: TextStyle = {
|
const boxTextStyle: TextStyle = {
|
||||||
fontSize: 25,
|
fontSize: 25,
|
||||||
|
Loading…
Reference in New Issue
Block a user