Merge pull request #9 from fay-jai/wip

Fix bug with X direction not respecting max width