Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Viewing all articles
Browse latest Browse all 1675

Unwanted pixel gap in react native flex box

$
0
0

unwanted gap

There is an unwanted gap of approximately a pixel in between the child components (I colored the background red so it's easier to see). Anyone know how to get rid of it?

<View    style={{        flexDirection: 'row',        backgroundColor: 'red',    }}><View        style={{            backgroundColor: 'dodgerblue',            width: 30,            height: 30,        }}    /><View        style={{            backgroundColor: 'dodgerblue',            width: 30,            height: 30,        }}    /><View        style={{            backgroundColor: 'dodgerblue',            width: 30,            height: 30,        }}    /></View>

Viewing all articles
Browse latest Browse all 1675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>