Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
217 views
in Technique[技术] by (71.8m points)

React Native aligning children in parent with flexDirection: row

I understand there is the property alignSelf and justifyContent in React Native. However, alignSelf is for the vertical direction in the case of flexDirection: row and justifyContent is used to align all the children at one position. I would like to align two childrens, where one of them would be in the center and the other at alignment of flex-end in a parent <View> with flexDirection: row in the horizontal axis. Does anyone have any idea of how this can be done? Thank you in advance!

question from:https://stackoverflow.com/questions/65878396/react-native-aligning-children-in-parent-with-flexdirection-row

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...