react-native-vector-icons: Icon size is wrong with 1.0.0
The icon size is wrong in the latest version using the new custom font feature of RN.
Expected (as with 0.8.5):

Current (with 1.0.0 - background set to blue to see the dimensions):

Code used (simplified):
<MaterialIcons name="arrow-back" size={24} style={{ margin: 16 }} />
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 25 (21 by maintainers)
Commits related to this issue
- Uses dashes instead of underscores in MaterialIcons for backwards compatibility. #65 — committed to oblador/react-native-vector-icons by oblador 9 years ago
lineHeightbehaves very weirdly in React Native, it’s nothing like in CSS. What happens if you try to set bothheightandlineHeight(also try without margin/padding to be sure it doesn’t iterfere)?