javascript - How is the size determined during react-native layout?
过去多啦不再A梦
过去多啦不再A梦 2017-05-31 10:37:13
0
1
564

I saw that the official website only says that the unit is not used, but the logical pixel unit is used.
So for example, width: 20; How to determine the 20 here?
When I was making a small program before, the documentation of the small program stated that it was done using the 750 design drawings, but rn seemed to have no instructions in this regard

过去多啦不再A梦
过去多啦不再A梦

reply all(1)
Ty80

react-native uses pt as the unit, which is equivalent to a little more than half of the same px. You need to debug it slowly by yourself

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template