Fixed #19.
Merge pull request #22 from frmwrk123/fix/LayoutManager

Fixed #19.