There is difference in layout calculation for [template] and [template type='clean']

Hello all!

My question is in SUBJ.
It’s an example:
https://snippet.webix.com/wqrr4fe6

This page
https://docs.webix.com/desktop__template.html

says that only difference between [template] and [template type=‘clean’] is gray border around this widget.

Could someone tell me, why free space is distributed around templates in such dramatically different ways?

Thank you in advance!

Hello,

Yep, there’s an inconsistency in template logic: it should respond to autoheight as well. We will fix it in the new release, thank you for reporting.

For now you can simply use the borderless:true setting to avoid the borders: https://snippet.webix.com/6vp1hv16

Also, please note that type “clean” presupposes zero padding for the template view.

Hello Helga.
Thank you very much for your explanation!