[Mono-bugs] [Bug 358229] Multiline textbox shouldn't have FixedHeight control style

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 3 06:10:41 EST 2008


User luke.a.page at gmail.com added comment

--- Comment #1 from Luke Page <luke.a.page at gmail.com>  2008-02-03 04:10:39 MST ---
Reproduces a problem with now obsolete Scale function as a result of
FixedHeight being incorrectly set. A similar problem will exist with AutoScale
after 1.0

using System.Windows.Forms;
using System;
namespace tbtests {
        static class Program {
                static TextBox tb = null;

                static void Main ()
                        Form form = new Form ();
                        tb = new TextBox ();
                        tb.Dock = DockStyle.Bottom;
                        tb.Height = 20;
                        tb.Multiline = true;
                        tb.Scale (10f);

                        form.Controls.Add (tb);

                        Application.Run (form);

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