Search and Top Navigation
#1712 closed enhancement (fixed)
Opened September 22, 2007 09:08AM UTC
Closed September 28, 2007 12:25PM UTC
Last modified February 26, 2009 11:10AM UTC
aspectRatio option for resizables
Reported by: | c_t | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi All!
I have written a small enhancement for the resizables (see attachment).
Now there is one additional configuration option ''aspectRatio''. You can either set this to '' 'preserve' '' or to any floating point number defining an aspect ratio between width/height .
If set to ''preserve'' the aspect ratio is calculated from the initial width and height of the resizable element.
Pressing the shift-key now simply enables the ''aspectRatio: preserve'' option temporarily.
I'd love to see this enhancement in the next release!
Cheers, Christoph
Attachments (0)
Change History (4)
Changed September 24, 2007 04:18PM UTC by comment:1
owner: | → paul |
---|---|
status: | new → assigned |
Changed September 28, 2007 12:25PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | assigned → closed |
It's strange...somehow I was able to remove all checks in the switch block, and it still works. Only the ons with left/top modified, too don't work correctly, I don't know yet how to easily fix it.
Changed May 24, 2008 03:39AM UTC by comment:3
milestone: | 1.2.2 |
---|
Milestone 1.2.2 deleted
Changed February 26, 2009 11:10AM UTC by comment:4
milestone: | → 1.5 |
---|