[Mono-bugs] [Bug 415780] DataGridView AutoSizeRowsMode does not behave as in . Net Framework

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 11 14:37:28 EDT 2008


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

User jpobst at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=415780#c1


Jonathan Pobst <jpobst at novell.com> changed:

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




--- Comment #1 from Jonathan Pobst <jpobst at novell.com>  2008-09-11 12:37:27 MDT ---
Fixed in r112785.  Thanks for the report!

2008-09-11  Jonathan Pobst  <monkey at jpobst.com>

        * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
        Store the user set explicit height so that the row can be AutoSized
        and then when AutoSize is turned off, it can get its original size
back.
        * DataGridView.cs: Use the Row's GetPreferredHeight instead of 
        duplicating the logic.  When setting AutoSizeRowsMode to None, reset
        rows' heights back to their explicit values.
        [Fixes bug #415780]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list