[Mono-bugs] [Bug 424380] New: ErrorProvider should scale a user-provided icon to 16x16

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 8 10:10:02 EDT 2008


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


           Summary: ErrorProvider should scale a user-provided icon to 16x16
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andyhume32 at yahoo.co.uk
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


As documented in MSDN, a user-provided icon should always be drawn at size
16x16 and should be rescaled if necessary.

One fix would be the following, but better solutions exist.
    public Icon Icon {
        get ...
        set { icon = new Icon(value,16,16); }
    }
A user may well expect always to get_ the same icon as they set_ however...


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


More information about the mono-bugs mailing list