Pssible Bug: GroupBox back color

  • Thread starter Thread starter Mike G.
  • Start date Start date
M

Mike G.

I'm new to VB.NET...

I created a GroupBox on my form. I then changed the BackColor of the
GroupBox. But the back color seems stray outside of the line on the top
side of the box.

For the bottom and sides the color stays inside the lines, but not for the
top.

Could this be a bug?

Thanks in advance.

-Mike
 
Mike said:
I'm new to VB.NET...

I created a GroupBox on my form. I then changed the BackColor of the
GroupBox. But the back color seems stray outside of the line on the top
side of the box.

For the bottom and sides the color stays inside the lines, but not for the
top.

Could this be a bug?

Nope, the painting region of the group box extends up to the top of where
text could be. You should notice that the region outside the lines at the
top and just below that top line changes as you change the font on the
GroupBox.

Make sense?
 
Ok, I got it now.

Thanks.


Jacob Grass said:
Nope, the painting region of the group box extends up to the top of where
text could be. You should notice that the region outside the lines at the
top and just below that top line changes as you change the font on the
GroupBox.

Make sense?
 
Back
Top