kingyiren / flex-object-handles

Automatically exported from code.google.com/p/flex-object-handles
0 stars 0 forks source link

Still able to resize ObjectHandle event after allowVResize and allowHResize set to false #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Set allowHResize and allowVResize to false
2. Try to resize the ObjectHandle
3.

What is the expected output? What do you see instead?
I am still able to resize the Object handle. I should not be able to resize it.

What version of the product are you using? On what operating system?
Version: ObjectHandles-1.0.0015 
OS:Windows XP SP 2

Please provide any additional information below.

Original issue reported on code.google.com by its.my.e...@gmail.com on 29 May 2008 at 9:22

GoogleCodeExporter commented 8 years ago
You can resize an ObjectHandles with keyboard but object does not allow 
resizing, to
fix that add a verification at handleUpPress, handleDownPress, handleLeftPress 
and 
handleRightPress like this :

if (!(shiftKeyDown && !allowVResize)) { // or allowHResize for left and right
  // do code
} 

Original comment by jonathan...@gmail.com on 2 Dec 2008 at 9:58

GoogleCodeExporter commented 8 years ago
Note that allowHResive and allowVResize only affect the handles if they are set
before the component is initialized, you can't turn them on and off at will.  
Would
be very useful if you could do this though.

Original comment by barry.da...@gmail.com on 29 Jul 2009 at 12:18

GoogleCodeExporter commented 8 years ago
hi  i want to resize  image with equal height and width of original image 
size... can
i do it in object handler.. anyone help me....

Original comment by raju.amu...@gmail.com on 22 Oct 2009 at 12:27

GoogleCodeExporter commented 8 years ago

Original comment by marc.hug...@gmail.com on 22 Dec 2009 at 4:05