Z
Z
zwezew2019-06-05 18:47:18
React Native
zwezew, 2019-06-05 18:47:18

How to make a grid with offset and padding in React native?

How to make a grid with offset and padding in React native? For example, for a grid with 7 elements, where there is a maximum of 4 per line. When using flexes, 3 elements on the second line are stretched to fill the free space, without flexes with a percentage width - you can not subtract the padding from the width without calc. How to implement it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question