IDE-1850 improved new LayoutTpl editor

- made the preview not fill the row when sum of weights is not 100 or 12
- fixed the column cannot be shown completely
- made it look better when there are many columns and rows
- catch the NPE caused by null content outline