webix with jquery and width

Using webix with jquery like this:

$(’#loginStatus’).webix_form({
id:“newTopLogin”,
view:“form”,
borderless: true,

does not seem to use all the div but just a part of it. And it seems that i do need to set a width in order to get a visible output (which othewise gets a witdth of 0).
Is there a way to get round this?

thanks
valerio

Hi,

Form occupies the whole container where it is initialized.

Here is the working demo:

http://webix.com/snippet/6f189dfc

arrrgh! you are right… i wonder why it’s not working in my setup…

Components do not listen to size changing of custom containers. So, if you set size for your div dynamically, form won’t adjust its sizes. You need to call adjust() in this case.

thanks!
:slight_smile: