[Mono-bugs] [Bug 509981] New: WinForms Label included in a FlowLayoutPanel doesn't wrap long text.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jun 4 11:19:37 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=509981


           Summary: WinForms Label included in a FlowLayoutPanel doesn't
                    wrap long text.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ken at norganna.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: Third Party Developer/Partner


Created an attachment (id=296268)
 --> (http://bugzilla.novell.com/attachment.cgi?id=296268)
Test case source code.

Description of Problem:
When a WinForms Label with a lot of text is added to a FlowLayoutPanel, instead
of wrapping the label's text to keep within the bounds of the form, the label
continues on in a single line and is clipped by the bounds of the containing
form.

Steps to reproduce the problem:
1. Compile attached test case with:
gmcs -r:System,System.Windows.Forms -t:winexe -out:Test.exe Test.cs
2. Run the CIL as usual with:
mono Test.exe

Actual Results:
The label does not wrap as the same test case does on .Net

Expected Results:
I will attach some screen shots of both the test case running under Mono 2.4,
Net 3.5 and the .Net 3.5 compiled version running under Mono.

How often does this happen? 
100%

Additional Information:
See attached files for more details.

-- 
Configure bugmail: http://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