react-native/React
Alin Panaitiu 28c1c88ef7 Adjust row height by font size in PickerIOS
Summary:
- [x] Explain the **motivation** for making this change.
- [x] Provide a **test plan** demonstrating that the code is solid.
- [x] Match the **code formatting** of the rest of the codebase.
- [x] Target the `master` branch, NOT a "stable" branch.

There is a problem where setting a bigger fontSize in PickerItem style
clips the top and bottom of the text.
This solves that problem by computing the row height using the font
size.

Create a PickerIOS component and set a larger font size (e.g. 50). The row height will grow accordingly.

Example with `fontSize=50`: [Screenshot](http://i.imgur.com/YwK5fOc.png)
Closes https://github.com/facebook/react-native/pull/13513

Differential Revision: D5692124

Pulled By: shergin

fbshipit-source-id: 4629403e37ad68cdbc0b17b48ba924a77e133078
2017-08-23 20:30:10 -07:00
..
Base add notifications for dev reload 2017-08-17 17:16:19 -07:00
CxxBridge add notifications for dev reload 2017-08-17 17:16:19 -07:00
CxxModule Fix format specifier used in RCTCxxMethod 2017-08-08 11:55:17 -07:00
CxxUtils More efficient dynamic->NSString conversion. 2017-07-26 18:31:12 -07:00
DevSupport Force the debugger to disconnect before a bundle reload 2017-08-14 08:16:52 -07:00
Executors Add more information to `__fbBatchedBridge is undefined` error 2017-07-26 11:21:59 -07:00
Inspector Force the debugger to disconnect before a bundle reload 2017-08-14 08:16:52 -07:00
Modules iOS: Fix registration for UIContentSizeCategoryDidChangeNotification 2017-08-17 23:47:19 -07:00
Profiler Configure requiresMainQueueSetup for core modules 2017-08-07 07:04:36 -07:00
React.xcodeproj Add support for Cxx objects as arguments to native modules 2017-08-14 05:22:17 -07:00
ReactLegacy.xcodeproj Add support for Cxx objects as arguments to native modules 2017-08-14 05:22:17 -07:00
Views Adjust row height by font size in PickerIOS 2017-08-23 20:30:10 -07:00
third-party.xcconfig More attempts to fix Travis CI runs 2017-05-10 04:32:54 -07:00