Open Daijobou opened 10 years ago
Hello,
resize is true and add widget with:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1" data-max-sizex="1" data-max-sizey="1">Box without resize-icon</li>
hide the resize icon. working fine! :)
But...
The same with a greater widget:
<li data-row="1" data-col="1" data-sizex="4" data-sizey="1" data-min-sizex="4" data-min-sizey="1" data-max-sizex="4" data-max-sizey="1">
data-sizex = data-min-sizex = data-max-sizex = "4" data-sizey = data-min-sizey = data-max-sizey = "1"
The box can't resize (correct!) => but the resize icon show up.
Setting is:
gridster = $(".gridster ul").gridster({ widget_base_dimensions: [100, 65], widget_margins: [5, 5], min_cols: 4, max_cols: 4, helper: 'clone', resize: { enabled: true, max_size: [4, 4], min_size: [1, 1] } }).data('gridster');
Hello,
resize is true and add widget with:
hide the resize icon. working fine! :)
But...
The same with a greater widget:
data-sizex = data-min-sizex = data-max-sizex = "4" data-sizey = data-min-sizey = data-max-sizey = "1"
The box can't resize (correct!) => but the resize icon show up.
Setting is: