Anyway to keep an image's relative position when the window is being resized?

I have a button that I have overlayed an image on and made into a dynamic panel. I have set the panel to resize to parent, which it does but I would like the image stay at the right side of the button.