[Mono-bugs] [Bug 543785] ListView Items not aligned properly when scrolled down to end

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Oct 12 23:01:11 EDT 2009


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

User calberto.cortez at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=543785#c5





--- Comment #5 from Carlos Alberto Cortez <calberto.cortez at gmail.com>  2009-10-12 21:01:08 MDT ---
Sorry, but you need to provide a test case, since sometimes you are facing a
specific scenario, and we need to reproduce the same conditions. Using this
sample I can't see any problem:

using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;

public class Test
{
        static void Main (string [] args)
        {
                Application.EnableVisualStyles ();
                TestForm form = new TestForm ();
                Application.Run (form);
        }

}

public class TestForm : Form
{
        ListView lv;

        public TestForm ()
        {
                lv = new ListView ();
                lv.Dock = DockStyle.Fill;
                lv.BeginUpdate ();
                lv.View = View.Details;
                lv.Columns.Add ("One");
                lv.Columns.Add ("Two");
                for (int i = 0; i < 100; i++) {
                        ListViewItem item = lv.Items.Add ("Item " + i);
                        item.SubItems.Add ("Sub item " + i + "-1");
                }
                lv.EndUpdate ();

                Controls.AddRange (new Control [] { lv });
        }
}

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


More information about the mono-bugs mailing list