Fixed custom document layout
Merge remote-tracking branch 'upstream/master'
Merge pull request #18 from delphiki/master

Fixed custom document layout