Picturebox Backcolor doesn't work?

0
0

Hey

Maybe, I am missing something, but I don’t get the Picturebox.Backcolor working.

I want, that the complete picturebox has a predefined color (I attach a screenshot)

What I did:

I use a TableLayoutPanel and put a Picturbox into it with Dock=Fill

I am using latest available version: 2.2.33.0

Could you please give me some advise!?

THX a lot in advance

  • You must to post comments
0
0

Hi Harald,

We decided to leave the PictureBox the way it is now. The AutoSize configuration option sets the default image height / width to 0. That’s why the background doesn’t show up.

If you want to show the background you’ll need to toggle the SizeMode to a different setting.

Please let me know if you still need assistance with this!

Best,

Levie

  • You must to post comments
0
0

Hi Harald,

Thanks for the info.

It looks like the issue occurs when the PictureBox’s SizeMode is set to AutoSize. You should be able to set it to another SizeMode and it should work fine.

I’ll log an issue and we’ll see if we can get it fixed for the next build!

Best,

Levie

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.