[Mono-bugs] [Bug 79129][Nor] Changed - MONO_THEME, buttons images are not displayed

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 12 07:55:45 EST 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 everaldo at simios.org.

http://bugzilla.ximian.com/show_bug.cgi?id=79129

--- shadow/79129	2007-02-11 20:20:44.000000000 -0500
+++ shadow/79129.tmp.6304	2007-02-12 07:55:45.000000000 -0500
@@ -44,6 +44,25 @@
 Patch that partially fixes problem
 
 
 ------- Additional Comments From enrico at simios.org  2007-02-11 20:20 -------
 This patch partially fix the problem, some problem still remain image
 must be cut. 
+
+------- Additional Comments From everaldo at simios.org  2007-02-12 07:55 -------
+Enrico, This really fix a problem for most themes as the problem is
+that button background is painted after draw image and you invert
+orders. One problem still remains as you sad, you must cut parts of
+image to dont overlaps button borders.
+
+Suggestions:
+
+Get the code from DrawImage to an Internal DrawImage like other Button
+draw methos and gets DrawImage calling Internal DrawImage. With this
+you can isolate parts of code that is common to all themes (in
+Internal) and other parts that must be override in DrawImage. A
+parameter to specify a rectangle can be useful as different themes
+theres different valid internal areas.
+
+I will wait you for complete fix before commit you patch :)
+
+


More information about the mono-bugs mailing list