Anyone knows how I can do this. What I want is to define a grid for all resizable containers.

asked May 06 at 18:48

Bas's gravatar image

Bas
111

edited May 06 at 18:50

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1071117


the grid works only for dragging, not for resizing…; to perform grid to resize event add after line 272:

if (container.attr("grid") || (container.attr("gridx") && container.attr("gridy"))){
   var grid= container.attr("grid")? [container.attr("grid"),container.attr("grid")]:[container.attr("gridx"),container.attr("gridy")];
   container.resizable( "option", "grid", grid);
}

This will be fixed on next release.

answered May 06 at 18:50

Matteo%20Bicocchi's gravatar image

Matteo Bicocchi ♦♦
1071117

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×2
×1

Asked: May 06 at 18:48

Seen: 52 times

Last updated: Aug 12 at 21:23

powered by OSQA