[Mono-bugs] [Bug 332892] New: Scroll problem in TableLayoutPanel

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 11 06:54:05 EDT 2007


           Summary: Scroll problem in TableLayoutPanel
           Product: Mono: Class Libraries
           Version: 1.2
          Platform: x86-64
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at ximian.com
        ReportedBy: Vasiliy.Molaev at acronis.com
         QAContact: mono-bugs at ximian.com
          Found By: Development

Created an attachment (id=177639)
 --> (https://bugzilla.novell.com/attachment.cgi?id=177639)
Main form class file

Description of Problem:
I'm using TableLayoutPanel control with N rows in AutoSize mode and 1 column
with Button (or any other control) added into each row. The size of
TableLayoutPanel is less than overall height of all contained controls, so
vertical scroll appears. Button click event uses to change it's visibility to
false. After scrolling control to the middle and clicking some button, where is
additional space between top of control and first row appears.

Steps to reproduce the problem:
1. Compile attached example.
2. Scroll control to the middle.
3. Click on some button.
4. Scroll control to the start.
5. Watch the gap.

Actual Results:
Gap between top of control and first row.

Expected Results:
No gap.

How often does this happen? 

Additional Information:

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