Skip to main content

Search and Top Navigation

#7878 open feature ()

Opened November 14, 2011 11:33AM UTC

Last modified October 28, 2012 02:37AM UTC

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' });

Attachments (0)
Change History (2)

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:1

milestone: 1.9.02.0.0

Changed October 28, 2012 02:37AM UTC by tj.vantoll comment:2

status: newopen
summary: Resizable should have a option for setting the resize centerResizable: Add option for setting the resize center