[Mono-bugs] [Bug 426896] New: The ScrollBar will not appeare when Multiline is set of TextBox

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Sep 17 05:44:16 EDT 2008


           Summary: The ScrollBar will not appeare when Multiline is set of
           Product: Mono: Class Libraries
           Version: SVN
          Platform: 32bit
        OS/Version: openSUSE 11.0
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rawang at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


in IronPython example. Set Multiline property is true of TextBox, and then type
[multi-line words], the Vertical scrollbar will not appeare if "textbox.Height"
is defined behind of "textbox.ScrollBars".


self.textbox2.Multiline = True
self.textbox2.ScrollBars = ScrollBars.Both
self.textbox2.Height = 100

will cause problem, but

self.textbox2.Multiline = True
self.textbox2.Height = 100
self.textbox2.ScrollBars = ScrollBars.Both

then the problem disappears.


1. Edit uia2atk/test/samples/textbox.py 
2. Set line: "self.textbox2.Height = 100" behind of line:
"self.textbox2.ScrollBars = ScrollBars.Both"
3. Run textbox.py
4. type [multi-line words] in second TextBox to see if there is a vertical
scrollbar appears


vertical scrollbar will not appear when type [multi-line words] in second


vertical scrollbar appears when type [multi-line words] in second TextBox


I just can fix this problem by making the line order correct, but there is a
bug here.

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