layout 's _beforeResetBorders algorithm has a bit of a problem

e.g:
here:
http://webix.com/snippet/58e91298
the layout has set borderless:true, and has three child views,

if didn’t hide the second and the third child view, then everything it is ok.

but if hide the second and the third child view , the layout will show the top and the bottom borders, this is not right.

thanks.

The borderless:true setting is responsible for the borders of the widget itself.

The layout as a container widget has one more property to control the borders of its inner views: the type. By property defaults to "line", which sets 1-px border to inner views (trees and resizer in your case).

Try setting type:"line" for layout or borderless:true for inner widgets: http://webix.com/snippet/2a75bd68

i set borderless:true for the layout only want to remove the border for the layout itself,

i dont’ want remove the borders of layout’s inner cells.

i need the inner cells has borders but the layout itself has no borders.

if set type:“clean” as what you do in http://webix.com/snippet/2a75bd68, then inner cells has no borders too.

in my example, http://webix.com/snippet/58e91298, if didn’t hide the second and the third child view, then everything is normal, but after hide the second and the third child view, the layout show top and bottom border, this is not normal, so layout’s algorithm has a little problem.