[Mono-bugs] [Bug 82097][Wis] New - Blurred text in CheckedListBox
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Jul 13 18:21:49 EDT 2007
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by jon at jcosby.com.
http://bugzilla.ximian.com/show_bug.cgi?id=82097
--- shadow/82097 2007-07-13 18:21:49.000000000 -0400
+++ shadow/82097.tmp.26704 2007-07-13 18:21:49.000000000 -0400
@@ -0,0 +1,88 @@
+Bug#: 82097
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: openSUSE 10.2
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: jon at jcosby.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Blurred text in CheckedListBox
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+I have a scrollable CheckedListBox showing files with their full paths. The
+entries wider than the CheckedListBox are blurred to the right. I might
+resize the CheckedListBox but I can only guess how long the paths might
+get. This doesn't appear to be a problem with a regular ListBox.
+
+Steps to reproduce the problem:
+Sample code:
+
+public class listtestcase : System.Windows.Forms.Form
+{
+ System.Windows.Forms.CheckedListBox fileListBox;
+ System.Windows.Forms.Button openFilesButton;
+ System.Windows.Forms.OpenFileDialog openFileDialog;
+
+ public listtestcase()
+ {
+ initialize();
+ }
+
+ private void initialize()
+ {
+ this.Width = 640;
+ this.Height = 480;
+
+ fileListBox = new CheckedListBox();
+ fileListBox.Width = 400;
+ fileListBox.Height = 400;
+ fileListBox.Top = 16;
+ fileListBox.Left = 16;
+ fileListBox.HorizontalScrollbar = true;
+ this.Controls.Add(fileListBox);
+
+ openFilesButton = new Button();
+ openFilesButton.Top = 420;
+ openFilesButton.Left = 25;
+ openFilesButton.Text = "Open...";
+ openFilesButton.Click += new EventHandler(this.GetFiles);
+ this.Controls.Add(openFilesButton);
+ }
+
+ public static void Main(string[] args)
+ {
+ Application.Run(new listtestcase());
+ }
+
+ private void GetFiles(object sender, EventArgs e)
+ {
+ openFileDialog = new OpenFileDialog();
+
+ if (openFileDialog.ShowDialog() == DialogResult.OK)
+ {
+ for (int i = 0; i <= openFileDialog.FileNames.GetUpperBound(0); i++)
+ fileListBox.Items.Add(openFileDialog.FileNames[i]);
+ }
+ }
+}
+
+Actual Results: Blurred text to the right in listbox.
+
+
+Expected Results: Readable text.
+
+
+How often does this happen? Every time.
+
+
+Additional Information:
More information about the mono-bugs
mailing list