https://bugzilla.novell.com/show_bug.cgi?id=400390

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=400390#c9


John Mortlock <[EMAIL PROTECTED]> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #9 from John Mortlock <[EMAIL PROTECTED]>  2008-09-24 20:26:47 MDT 
---
One small problem when there are no items then a divide by zero occurs.
This happens when drawing the horizontal grid lines. (ThemeWin32Classic.cs)

I added the following code to work around it, i have no idea what the default
height should be so guessed at 16.

int item_height = control.ItemSize.Height != 0 ? control.ItemSize.Height : 16;


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

Reply via email to