I have experienced the same problems, so don't worry.
Here's a little example to illustrate the problem:
`Create images
cls rgb(255, 0, 0)
get image 1, 0, 0, 50, 50, 1
cls rgb(0, 255, 0)
get image 2, 0, 0, 50, 50, 1
cls rgb(0, 0, 255)
get image 3, 0, 0, 50, 50, 1
cls 0
cp = createPanel(5, 5, 200, 200, 0)
setPanelImage cp, 1
do
if inkey$() = "1" then setPanelImage cp, 1
if inkey$() = "2" then setPanelImage cp, 2
if inkey$() = "3" then setPanelImage cp, 3
if lower$(inkey$()) = "s" then ResizeGadget cp, 200, 200
loop
make memblock 1, 0
You see, everytime you change the image, the panel resizes itself to the image size. But if you press s when loaded, you can stretch the image to your desired size.
You'll just have to resize it again and again after each time you change the panel image.
It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.