I have three Layers selected (I am showing resize handles on the Main Layer only): 1. Main Layer (photo) 2. Mask Layer applied to 1 3. Layer which is filled with color and is placed under 1
This is how it looks:
After I resize the selected layers the arrangement of 3rd and 1st layers is getting mis aligned and is looking bad.
This is how it looks:
Where should I program to rearrange the 3rd and 1st layers?
This is expected behavior. If you drag items from the top-right grip they will enlarge, but the bottom-left grip will not move. Unfortunately there is not a way to keep some layers centered while sizing (it is not a bad idea, but I cannot think of a way the functionality could be presented to the user).
Why not enable a red border for your image layer instead?
Then, in the OnLayersNotifyEx event you might need to check for ielResizing and update PosX and PosY for the layers that are Selected but not the current layer (LayersCurrent).