I use resize_widget_dimensions() to change the values of widget_base_dimensions and widget_margins after initialization. Doing this changes the layout drastically.
For example, I have the following data-col values before changing the dimension
<li data-row="1" data-col="1" data-sizex="3" data-sizey="2"/><li data-row="1" data-col="8" data-sizex="8" data-sizey="2"/>
After using resize_widget_dimensions() it automatically set the data-col value to subsequent value.
I use resize_widget_dimensions() to change the values of widget_base_dimensions and widget_margins after initialization. Doing this changes the layout drastically. For example, I have the following data-col values before changing the dimension
<li data-row="1" data-col="1" data-sizex="3" data-sizey="2"/>
<li data-row="1" data-col="8" data-sizex="8" data-sizey="2"/>
After using resize_widget_dimensions() it automatically set the data-col value to subsequent value.<li data-row="1" data-col="1" data-sizex="3" data-sizey="2"/>
<li data-row="1" data-col="4" data-sizex="8" data-sizey="2"/>
And also after resizing, am not able to drag the widget to the end.