* TabControl.cs: ItemSize should be returning two times the padding
values instead of one.
svn path=/trunk/mcs/; revision=157381
+2010-05-15 Carlos Alberto Cortez <calberto.cortez@gmail.com>
+
+ * TabControl.cs: ItemSize should be returning two times the padding
+ values instead of one.
+
2010-05-14 Carlos Alberto Cortez <calberto.cortez@gmail.com>
* TabControl.cs: ItemSize should include the padding value.
get {
Size size = item_size;
if (SizeMode != TabSizeMode.Fixed) {
- size.Width += padding.X;
- size.Height += padding.Y;
+ size.Width += padding.X * 2;
+ size.Height += padding.Y * 2;
}
return size;