[Mono-bugs] [Bug 373792] New: Label padding error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Mar 25 17:50:22 EDT 2008


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


           Summary: Label padding error
           Product: Mono: Class Libraries
           Version: SVN
          Platform: PC
        OS/Version: openSUSE 10.3
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: derekd at omni-ts.com
         QAContact: mono-bugs at lists.ximian.com
                CC: stephane at omni-ts.com
          Found By: ---


Created an attachment (id=203872)
 --> (https://bugzilla.novell.com/attachment.cgi?id=203872)
label padding over writes text image

When the padding property of a Label is set, the padding can overwrite
(covering up) the text of the label.

I'm compiling with Managed.Windows.Forms r98955 and running in Windows but I've
seen the problem in Linux as well.

Reproduce:
1. start a new windows project
2. include Managed.Windows.Forms in your project
3. set your project reference to SWF2K5 and remove the reference to
System.Windows.Forms
4. include Mono.Mozilla2K5 in project and set a reference in SWF2K5 to it
5. Put a label on your form
6. Set label padding to (0,8,0,8).
7. Set font to Verdana, 18pt.
8. Run

Result:
The bottom of the text of the label is chopped off.

I have attached a sample program and capture.


-- 
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