[Mono-bugs] [Bug 82081][Wis] Changed - Flat buttons have a border even when bordersize is set to 0

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 16 14:42:49 EDT 2007

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by monkey at jpobst.com.


--- shadow/82081	2007-07-16 11:56:09.000000000 -0400
+++ shadow/82081.tmp.11395	2007-07-16 14:42:49.000000000 -0400
@@ -63,6 +63,23 @@
 Thanks for the report!
 ------- Additional Comments From gert.driesen at pandora.be  2007-07-16 11:56 -------
 Jonathan, this does not appear to be fixed (on neither Windows nor 
 Linux). I still get a border, and the button does not highlight on 
+------- Additional Comments From monkey at jpobst.com  2007-07-16 14:42 -------
+SVN r82052:
+2007-07-16  Jonathan Pobst  <monkey at jpobst.com>
+	* ButtonPainter.cs: For Flat button, if no mouse over / press
+	backcolor is specified, calculate one from the normal backcolor.
+However I still can't reproduce the border issue.  Please note that
+the 'focus rectangle' for a Flat button is solid, not dashed, so it
+looks like a border.  And we always paint a focus rectangle where MS
+may not.  That may be causing some confusion, try putting 2 buttons on
+your form.  If you don't think that's it, please give me a test case
+to try.

More information about the mono-bugs mailing list