Opened 12 years ago

Last modified 11 years ago

#7878 open feature

Resizable: Add option for setting the resize center

Reported by: acme Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8.16
Keywords: Cc:
Blocked by: Blocking:

Description

Currently Resizable is using the top left coordinates of the element as resizing center and is resizing to the bottom right.

It would be nice if there was an option to set the resizing center/origin e.g. to the center of the element so it grows to all sides equally.

Sorry, I don't know what's the correct term for "center/origin" in English for describing this feature.

Something like this:

$( ".selector" ).resizable({ origin: 'ne' }); (which is currently the default behaviour

or

$( ".selector" ).resizable({ origin: 'center' });

Change History (2)

comment:1 Changed 11 years ago by Scott González

Milestone: 1.9.02.0.0

comment:2 Changed 11 years ago by tj.vantoll

Status: newopen
Summary: Resizable should have a option for setting the resize centerResizable: Add option for setting the resize center
Note: See TracTickets for help on using tickets.