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!

Tagged:

Comments

  • edited August 2018

    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!

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!