Thanks at you two.
Arctic Fox wrote:Does this solve that problem?
Excuse me but not really
Rashad wrote:Kwai
Do you want the four rect. to be resized to the same size from the center if you are resizing any one of them ?
Like your picture ?
I try to explain...but it's difficult
In fact i try to create a ChartFlow with gadget like this
I have nearly finish, but i want to create a gadget with an arrow inside for linking the other elements.
So the arrow can be in several senses.
Start to left and go up
Start to right and go up
Start to left and go down
Start to right and go down
It's the 4 direction possible with this type of arrow
So i want create just one gadget for this 4 different arrow.
At the start, i want create one of this four arrow
And when i move the mouse, the arrow change of sense.
If i go up the mouse and in the same time move the mouse left, i have this arrow
If i go own the mouse and in the same time move the mouse to the right, i have this arrow
But all with the same gadgetimage
Look at my code ...in the same gadgetimage i have two arrow different possible
The blue arrow right and down, and the blue arrow left and down
Just with the move of the mouse ....
But i have two problems.
1/ For example, if i move the mouse by the left and go out the imagegadget, the image gadget don't resize itself anf the end of the arrow disappear
Exactely the same thing, when i move the mouse by down
Exactely the same for the right

And obviously the same problem when i move the mouse up
See this picture the end of arrow is cut, because the imagegadget don't resize more big for see the arrow full
2/ And the second problem, is when i move the arrow by left or right, the other side is empty and white.
The gadgetimage not resize too, for hide this big part of white
Like this, the left part is empty, and i don't want this, i want the imagegadget resize for not see white at the left
For answer to RASHAD, yes the more simple is perhaps the arrow begin to the center, and go in all the direction :roll:
But when i go left and up, the down and right of white image must disappears
The imagegadget must to be resizing exactely around the arrow, not big white must appears, just a little bit arround for not cut the arrow
Excuse me for this hard question, but i'm tired to write hundred lines, and i don't know where i am now
