I have a container layer (toolbar) in krpano that contains several icon buttons. The container’s width is dynamic, so it initially adjusts to the width of its children. Now I’d like to add a hover effect to the buttons: They should slightly change their size WITHOUT changing the size of the container. Unfortunately, animating the scale property also changes the size of the container. Is there a simple solution? Perhaps the container’s size could be frozen after all children have been added within an action? When is a good time to read the values of pixelwidth and pixelheight and assign them to width and height?
Thanks for any hints!
Steffen