autowidth for segmented view

I was hoping that using autowidth: true on the segmented view will properly size it to the minimum width that still makes all option texts visible. But it seems to be not working as expected: http://webix.com/snippet/d557f679

Is this a bug?

Related question: do all segments have to be the same width? Or can the width for each segment be specified?

Hi,

actually we should remove this property from Segmented API as it will not work correctly with this control. Now the autowidth logic just takes value of the control and measures its size.

In future we will consider the possibility of setting the autowidth for segmented options.

For now you can make adjustments via css: http://webix.com/snippet/1f95061b