Hi,
How can I make label’s size (label is embedded in toolbar ) to fit to its content, I tried to set autowidth:true, autoheight:true but not effect.
see snippet: http://webix.com/snippet/adeab7c8
Hi,
How can I make label’s size (label is embedded in toolbar ) to fit to its content, I tried to set autowidth:true, autoheight:true but not effect.
see snippet: http://webix.com/snippet/adeab7c8
It’s not possible, though. One of the main principles of Webix auto-sizing is:
If there’re several components or several layout columns on the page, each of which, they will equally distribute available space among them. So toolbar width is evenly distributed between mainTitle label, menu, and an icon.
You can restrict the width of controls with width (minWidth, maxWidth), and inputWidth properties. The latter sets the size for the input area (here - text on the label) not affecting the whole control width.