make text with specific width work. plus a lot of hacks to manage dependencies. need to clean it up

This commit is contained in:
Christopher Chedeau
2014-04-26 12:46:21 -07:00
parent c06f48c45f
commit 8ca7bd0ccb
3 changed files with 60 additions and 25 deletions

View File

@@ -751,6 +751,13 @@ describe('Layout', function() {
)
});
it('should layout node with text and width', function() {
testLayout(
{style: {text: 'kikoo loool', width: 10}},
{width: 10, height: 36, top: 0, left: 0}
)
});
it('should layout randomly', function() {