The panel is at a fixed size, always 120x120. Do you mean the image is resizing because more is being added to it, not the panel itself is physically resizing?

That method is called when the component itself is resized - which incidentally also occurs when you set the initial size of your panel.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.