Scroll bars with a template

I have a template which has a large amount of text displayed using `

` tags.

I can't seem to get a horizontal and vertical scroll bar.

http://webix.com/snippet/ccd9a225

Scrolls can be enabled via scroll property:

http://webix.com/snippet/a7c0ef6f

I guess my problem is that the horizontal scroll bar is off the screen.

http://webix.com/snippet/2a9c3925

autoheight:true adjusts the view to its content , so the scrollbars of the big template will be off the screen. You can define the relative height to adjust the template to the window:

http://webix.com/snippet/b9022989

Thanks that worked great. I had never seen the gravity property before.