views:

36

answers:

1

Im writing a user drawn TabControl. The class inherits from the base TabControl class and for some reason I can't get rid of this ugly gutter. I want the TabPage to span the entire width of the control. Do I need to draw my own TabPage?

A: 

I'm not exactly sure what aspect of the TabControl you're talking about, but I assume that it's either the Padding attribute or the Margin attribute since there is no "gutter" attribute. Setting the values in one of those fields to zero will most likely accomplish what it is you're trying to do.

AndyPerfect