http://bugzilla.novell.com/show_bug.cgi?id=599841

http://bugzilla.novell.com/show_bug.cgi?id=599841#c1


--- Comment #1 from Thomas Goldstein <[email protected]> 2010-04-26 21:47:30 UTC ---
I found out how to fix the image centering as well.

At line 445 of TabControlPainter, there is:
int image_y = interior.Y + (interior.Height - tab.ImageList.ImageSize.Height) /
2;
tab.ImageList.Draw (dc, new Point (interior.X, image_y), page.ImageIndex);

Replace these 2 lines with:
int image_x = bounds.Left + (res - tab.ImageList.ImageSize.Width) / 2;
int image_y = interior.Y + (interior.Height - tab.ImageList.ImageSize.Height) /
2;
tab.ImageList.Draw (dc, new Point (image_x, image_y), page.ImageIndex);

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to