It works until I resize a layer, because the footer resizes too and so it's height is no longer 18.
Then I've tried to calculate layer's footer height on ImageEnVectLayerNotify (event = ielResized), but for doing that I need the layer original height and width.
The problem is that I've already changed it with Proc.ImageResize.
So, is there a way to get the layer original width and height after using the upper bold code?
Does anyone have a better idea on how to achieve my goal? (Having layers with footers insensitive to resizing)
quote:Then I've tried to calculate layer's footer height on ImageEnVectLayerNotify (event = ielResized), but for doing that I need the layer original height and width.
Why not store the original width and height somewhere?