Nick Lockwood
49e87af934
Fixed text update on OSS
2015-06-01 08:44:11 -08:00
Nick Lockwood
36c33b4a60
Fixed delayed text layout bug
2015-05-29 10:43:13 -08:00
Nick Lockwood
45c1dc1c65
Fixed text background color
...
Summary:
@public
This fixes an issue with the containerBackgroundColor property of `<Text>` nodes, where containerBackgroundColor was being overridden by the backgroundColor. I also fixed up the example so that it demonstrates the feature more clearly.
Test Plan:
* Check UIExplorer text example
* Run Catalyst snapshot tests and check MAdMan, Groups
2015-05-28 09:31:57 -08:00
Nick Lockwood
0689c0790e
Fixed crash in RCTText due to NSTextContainer/NSLayoutManager being accessed concurrently from main and shadow queues
2015-05-26 18:52:46 -08:00
Vladimir Kurchatkin
a142ed50ff
Add `letterSpacing` style property for `Text`
...
Summary:
Fixes #457
Closes https://github.com/facebook/react-native/pull/482
Github Author: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-05-13 13:24:36 -07:00
Dr. Kibitz
621a30c8b8
Fixes #813
...
Summary:
Also fix RCTShadowText export name.
Closes https://github.com/facebook/react-native/pull/857
Github Author: "Dr. Kibitz" <info@drkibitz.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-23 04:06:16 -08:00
Alex Akers
397d4666d9
[React Native] #WIP Modify RCTShadowText measure function to honor maxNumberOfLines property
2015-04-07 02:11:01 -08:00
Alex Akers
7a97043a3e
[React Kit] Remove embarrassing TODOs
2015-03-26 10:33:05 -08:00
Nick Lockwood
19e328fb08
Added explicit types for all view properties
2015-03-25 21:20:24 -08:00
Nick Lockwood
f124c32143
[WIP] Added support for italics and additional font weights
2015-03-25 16:09:08 -08:00
Christopher Chedeau
1aeb02ada3
[ReactNative] Expanded license on obj-c files
2015-03-23 13:18:29 -08:00
James Ide
62766e6077
[Text] Account for font leading so descenders are not clipped
...
Summary:
Prior to this diff, descenders (the hanging tail on letters like g and j) were clipped on the last line because the text measurer did not account for the font leading. With `NSStringDrawingUsesFontLeading` it honors the fonts line spacing.
To test: open the Text demo of the UIExplorer and see that the bottom of the letter g is no longer clipped off.
## Before
![Screenshot Before](https://cloud.githubusercontent.com/assets/379606/6364746/1c5527a0-bc60-11e4-8aeb-2147a6eb6596.png )
## After
![Screenshot After](https://cloud.githubusercontent.com/assets/379606/6364747/1e9abe58-bc60-11e4-8c34-9f20ad8572ff.png )
Closes https://github.com/facebook/react-native/pull/96
Github Author: James Ide <ide@jameside.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-23 11:40:24 -08:00
Spencer Ahrens
99f7a0ab9d
[ReactNative] Pull out some OSS modules into separate libs
2015-02-27 08:36:52 -08:00