Created
September 24, 2019 09:39
-
-
Save wendyliga/0e07aa38ba84f9fc8136ff082b8c9e00 to your computer and use it in GitHub Desktop.
Texture ASAbsoluteLayoutSpec Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node.style.layoutPosition = CGPoint(x: 0.0, y: maxConstrainedSize.height / 3.0) | |
node.style.preferredSize = CGSize(width: maxConstrainedSize.width / 2.0, height: maxConstrainedSize.height / 3.0) | |
return ASAbsoluteLayoutSpec(children: [node]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment