文字がはみ出ている問題を修正
This commit is contained in:
parent
711f0bbe9f
commit
84d36b88cc
@ -285,7 +285,6 @@ export const EachTrainInfo = ({
|
|||||||
style={{ margin: 5 }}
|
style={{ margin: 5 }}
|
||||||
onPress={() => {
|
onPress={() => {
|
||||||
LayoutAnimation.easeInEaseOut(); //setLoadingDelayData(true);
|
LayoutAnimation.easeInEaseOut(); //setLoadingDelayData(true);
|
||||||
|
|
||||||
navigate("trainbase", {
|
navigate("trainbase", {
|
||||||
info: "train.html?tn=" + data.trainNum,
|
info: "train.html?tn=" + data.trainNum,
|
||||||
from,
|
from,
|
||||||
@ -299,6 +298,7 @@ export const EachTrainInfo = ({
|
|||||||
style={{
|
style={{
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
//width: widthPercentageToDP("200%"),
|
//width: widthPercentageToDP("200%"),
|
||||||
|
minHeight: 200,
|
||||||
height: heightPercentageToDP("20%"),
|
height: heightPercentageToDP("20%"),
|
||||||
}}
|
}}
|
||||||
horizontal
|
horizontal
|
||||||
@ -307,6 +307,7 @@ export const EachTrainInfo = ({
|
|||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
minHeight: 200,
|
||||||
height: heightPercentageToDP("20%"),
|
height: heightPercentageToDP("20%"),
|
||||||
width: widthPercentageToDP("100%"),
|
width: widthPercentageToDP("100%"),
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user