Context Menu Autowidth

Hello, Does anyone know if ‘autowidth:true’ (in the context of a popup/context menu) is meant to automatically set the width of the menu to ensure all of each entry is displayed? In searching the forum I found this example, http://webix.com/snippet/41692acb
but altering it to use ‘autowidth:true’ and lengthening the ‘value’ field to test, still chopped off the text. Am I misunderstanding the docs?
Thanks for any guidance- SrvrSide

Unfortunately, autowidth will not work in such way. Name of autowidth property is really confusing, it sets width of list control based on a number of list items, without relation to their inner content.

We have “sizing to content” in our plans, most probably it will be available as part of Webix 3.0

Thanks for the feedback Maksim,
I’ll revert to width calculation and resizing manually on content

  • SrvrSide

Did “sizing to content” every happen?

Hi,

Yep, it was implemented in version 3.1

Please, check: http://webix.com/snippet/3d5f17b1.

Or, the updated sample from above: http://webix.com/snippet/5edbc2b6.