* TabControl.cs: Don't use the Font property of our TabPages - use our
own Font property instead, as .Net does.
Fixes some bits of #551032.
svn path=/trunk/mcs/; revision=159544
+2010-06-25 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * TabControl.cs: Don't use the Font property of our TabPages - use our
+ own Font property instead, as .Net does.
+ Fixes some bits of #551032.
+
2010-06-24 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: Call Invalidate when removing a tab page. We were
if (SizeMode == TabSizeMode.Fixed) {
width = item_size.Width;
} else {
- width = MeasureStringWidth (DeviceContext, page.Text, page.Font);
+ width = MeasureStringWidth (DeviceContext, page.Text, Font);
width += (Padding.X * 2) + 2;
if (ImageList != null && page.ImageIndex >= 0) {