Garrett Moon
dfe4585cec
Add ability to force the size which an image node is rendered. ( #2107 )
...
* Add ability to force the size which an image node is rendered.
* Add unit tests for forced scaling.
* Whoops, need results!
* Round forced scaling.
* Check size of contents too.
* Remove unnecessary container node.
2016-08-23 16:01:43 -07:00
Adlai Holler
99574a728c
Make our snapshot testing possible without framework-private access, simplify ( #2083 )
2016-08-17 17:42:37 -07:00
Nikita Lutsenko
2091df9607
[ASTextNode] Fix highlighting when textContainerInsets are set. ( #2073 )
...
* [ASTextNode] Fix highlighting when textContainerInsets are set.
* Add ASTextNodeSnapshotTests to xcodeproj.
* Add snapshot test for container inset and highlighting.
2016-08-16 10:18:51 -07:00
Garrett Moon
2c9e51e8f7
Add support for textContainerInset to ASTextNode (ala UITextView) ( #2062 )
...
* Add support for textContainerInset to ASTextNode (ala UITextView)
* Better comment, parens to increase readability. Thanks @schneider!
* Add textContainerInset snapshot test.
2016-08-12 12:07:00 -07:00
Adlai Holler
7abceba4a0
Rename snapshot test reference images
2016-08-10 10:26:21 -07:00
Levi McCallum
ca2fb0bc74
Update FBSnapshotTestCase and generate @3x images
2016-06-08 13:33:03 -07:00
Sam Stow
086bd8a52b
[ASRelativeLayoutSpec] New core layout spec type: Relative Position, now powers Center as well.
...
This spec allows positioning a child at any 9-part box position (corners, edges, or center).
2016-03-19 22:37:02 -07:00
appleguy
d132416d90
Merge pull request #848 from nguyenhuy/JustifyContentSpaceBetweenAndAround
...
Implement "space between" and "space around" justify content options for stack layout
2015-11-29 21:46:42 -08:00
Huy Nguyen
0077c3eec6
Implement horizontal and vertical alignments for stack layout
2015-11-24 20:57:19 +02:00
Huy Nguyen
1162e02b06
Implement "space between" and "space around" options of stack layout justify content
2015-11-16 19:34:08 +02:00
Huy Nguyen
938cd468b3
Add snapshot tests for ASStaticLayoutSpec.
2015-10-19 20:37:20 +03:00
Huy Nguyen
2149d44990
Fix naming convetion:
...
- "Layout node" is changed to "layout spec".
- Update tests.
- Update Kittens sample.
2015-07-01 18:13:44 +07:00
Huy Nguyen
e23a3fe4c2
Add layout tests.
2015-06-25 11:34:36 +07:00