Search and Top Navigation
#2290 closed bug (fixed)
Opened February 07, 2008 11:06AM UTC
Closed February 18, 2008 02:08PM UTC
Last modified February 26, 2009 11:25AM UTC
resizable's aspectRatio-preservation buggy (all handles, except SE)
Reported by: | c_t | Owned by: | eduardo |
---|---|---|---|
Priority: | major | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Looking at the code I suppose ui.resizable is meant to support preservation of aspectRatio either by specifying the aspectRatio = true option or by pressing the SHIFT-key.
However most of the handles are really buggy when the SHIFT-key is pressed especially the N/NW/NE-handles... Also I would expect from the E-handle that - while the SHIFT key is pressed - the resizable resizes to top AND bottom and not only to the bottom...
I know that it is quite difficult to properly implement such an aspect ratio preservation since I tried it myself and failed. A lot of margins have to be recalculated over and over again. But I remember that Interface had a properly working implementation, so maybe just have a look at the way they calculated the margin's there?
I think this is a pretty essential feature since it adds so much use to the resizables (e.g. without it an image-cropper where a given aspect ratio is essential will not be possible). I would highly appreciate it if this feature would make it into the 1.5 beta!
I've also described this problem in #2145 but since the basic funcionality has been implemented I think it's no enhancement anymore but a bug.
Attachments (0)
Change History (4)
Changed February 08, 2008 04:20PM UTC by comment:1
owner: | paul → braeker |
---|
Changed February 18, 2008 02:08PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | new → closed |
Changed May 24, 2008 03:39AM UTC by comment:3
milestone: | 1.2.3 |
---|
Milestone 1.2.3 deleted
Changed February 26, 2009 11:25AM UTC by comment:4
milestone: | → 1.5 |
---|