Alin Panaitiu and Facebook Github Bot
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
..
2016-06-27 17:13:27 -07:00
2016-06-27 17:13:27 -07:00
2016-11-23 07:58:39 -08:00
2016-11-23 07:58:39 -08:00
2015-06-25 09:17:01 -08:00
2015-09-04 07:00:21 -08:00
2016-11-23 07:58:39 -08:00
2016-01-07 12:03:17 -08:00
2015-12-01 09:00:28 -08:00
2016-08-10 13:13:34 -07:00
2016-11-23 07:58:39 -08:00
2017-07-11 12:31:15 -07:00
2016-11-23 07:58:39 -08:00
2015-06-25 09:15:21 -08:00
2017-01-26 18:28:53 -08:00
2017-03-24 18:15:42 -07:00
2015-09-02 06:11:24 -08:00
2015-09-02 06:11:24 -08:00
2016-11-23 07:58:39 -08:00
2016-04-26 04:21:39 -07:00
2016-11-23 07:58:39 -08:00
2017-07-24 08:33:04 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-07-11 15:05:57 -07:00
2017-08-17 15:22:12 -07:00
2017-08-17 15:22:12 -07:00
2016-09-27 06:28:33 -07:00
2017-04-01 03:34:41 -07:00
2017-06-20 19:22:57 -07:00
2017-08-17 15:22:12 -07:00
2016-11-23 07:58:39 -08:00
2016-11-18 14:43:31 -08:00
2016-11-23 07:58:39 -08:00
2017-08-02 10:23:42 -07:00
2016-11-23 07:58:39 -08:00
2016-09-08 17:58:50 -07:00
2016-11-23 07:58:39 -08:00
2016-09-08 17:58:50 -07:00
2016-11-23 07:58:39 -08:00
2017-08-23 20:30:10 -07:00
2016-11-23 07:58:39 -08:00
2016-08-05 12:44:21 -07:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2016-09-27 06:28:33 -07:00
2016-11-23 07:58:39 -08:00
2017-02-17 15:16:01 -08:00
2016-11-23 07:58:39 -08:00
2016-04-16 15:15:25 -07:00
2017-02-19 23:19:47 -08:00
2017-03-08 19:00:14 -08:00
2017-01-27 10:13:29 -08:00
2017-02-02 09:58:30 -08:00
2017-02-02 09:58:30 -08:00
2017-02-02 09:58:30 -08:00
2017-02-02 09:58:30 -08:00
2017-07-24 00:32:17 -07:00
2017-08-22 16:41:55 -07:00
2016-11-23 07:58:39 -08:00
2017-08-06 23:55:16 -07:00
2016-11-23 07:58:39 -08:00
2015-11-03 14:49:30 -08:00
2016-11-23 07:58:39 -08:00
2016-04-26 04:21:39 -07:00
2017-06-20 17:16:46 -07:00
2017-06-20 17:16:46 -07:00
2017-07-14 18:26:04 -07:00
2017-07-14 18:26:04 -07:00
2017-05-08 11:31:20 -07:00
2017-05-08 11:31:20 -07:00
2016-11-23 07:58:39 -08:00
2017-02-19 18:33:49 -08:00
2016-11-23 07:58:39 -08:00
2015-12-21 10:30:39 -08:00
2016-11-23 07:58:39 -08:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2015-09-02 06:11:24 -08:00
2016-05-03 05:40:29 -07:00
2017-08-10 05:36:06 -07:00
2017-08-10 05:36:06 -07:00
2017-08-10 05:36:06 -07:00
2016-11-23 07:58:39 -08:00
2016-12-19 06:28:40 -08:00
2016-11-23 07:58:39 -08:00
2016-11-29 12:28:55 -08:00
2015-07-07 06:15:20 -08:00
2016-12-19 06:28:40 -08:00
2017-03-23 11:36:17 -07:00
2017-05-28 21:45:32 -07:00
2017-06-02 14:19:57 -07:00
2015-03-26 02:42:24 -08:00
2016-11-23 07:58:39 -08:00
2017-06-20 19:01:27 -07:00
2017-01-06 20:29:02 -08:00
2017-07-28 11:35:25 -07:00
2016-11-23 07:58:39 -08:00
2017-01-06 20:29:02 -08:00
2016-11-23 07:58:39 -08:00
2016-09-27 06:28:33 -07:00
2017-05-28 21:45:32 -07:00
2017-06-20 19:01:27 -07:00
2017-06-20 19:01:27 -07:00