You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to horizontally center those two <Row>s inside the first <Col>.
Here is my code.
<Container><ContentcontentContainerStyle={{flex: 1}}><Gridstyle={{justifyContent: 'center'}}><Col><Rowsize={2}><Col><Text> Sign up options </Text></Col></Row><Rowsize={2}><Col><ButtoniconLeftdanger><Iconname="logo-google"/><Text> With Google </Text></Button></Col></Row><Rowsize={2}><Col><ButtoniconLeftbordereddark><Iconname="sms"type="MaterialIcons"/><Text> With SMS </Text></Button></Col></Row></Col></Grid></Content></Container>
Please note that alignItems works as expected (centering Col vertically) but none works horizontally for me.
Please help,
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to center content inside Col horizontally and it doesn't work.
I've read this alignment issue and this stackoverflow post and none of them works for me 😭😭
I want to horizontally center those two
<Row>
s inside the first<Col>
.Here is my code.
Please note that
alignItems
works as expected (centering Col vertically) but none works horizontally for me.Please help,
Thanks.
The text was updated successfully, but these errors were encountered: