[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
Thu Jul 12 10:21:50 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.
http://bugzilla.ximian.com/show_bug.cgi?id=82081
--- shadow/82081 2007-07-12 10:20:12.000000000 -0400
+++ shadow/82081.tmp.1781 2007-07-12 10:21:50.000000000 -0400
@@ -1,13 +1,13 @@
Bug#: 82081
Product: Mono: Class Libraries
Version: 1.2
OS: unknown
OS Details:
-Status: NEW
-Resolution:
+Status: RESOLVED
+Resolution: FIXED
Severity: Unknown
Priority: Wishlist
Component: Windows.Forms
AssignedTo: monkey at jpobst.com
ReportedBy: albright at wesay.org
QAContact: mono-bugs at ximian.com
@@ -36,6 +36,28 @@
How often does this happen?
always
Additional Information:
I can get it to go away by setting the bordercolor to Transparent but a
border color of transparent is not allowed in .Net
+
+------- Additional Comments From monkey at jpobst.com 2007-07-12 10:21 -------
+Fixed in SVN r81871. Also made setting a BorderColor to transparent
+throw a NotSupportedException.
+
+2007-07-12 Jonathan Pobst <monkey at jpobst.com>
+
+ * FlatButtonAppearance.cs: Throw NotSupportedException for a
+ Transparent BorderColor.
+
+2007-07-12 Jonathan Pobst <monkey at jpobst.com>
+
+ * ButtonPainter.cs: For Flat button, if BorderSize is 0, don't
+ draw the rectangle. Setting the pen's width to 1 isn't good
+ enough, it still draws the border. [Fixes bug #82081]
+
+2007-07-12 Jonathan Pobst <monkey at jpobst.com>
+
+ * ButtonTest.cs: Add test showing a NSE if Flat BorderColor is
+Transparent.
+
+Thanks for the report!
More information about the mono-bugs
mailing list