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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=80628 --- shadow/80628 2007-02-07 14:47:55.000000000 -0500 +++ shadow/80628.tmp.29675 2007-03-08 13:59:30.000000000 -0500 @@ -31,6 +31,16 @@ protected override void OnClick(EventArgs e) { base.OnClick(e); t.BorderStyle = BorderStyle.FixedSingle; Debug.Assert(t.ClientRectangle.Height == 20); } } + +------- Additional Comments From [EMAIL PROTECTED] 2007-03-08 13:59 ------- +Examining the WindowStyles set for TextBox, the Fixed3D border is +handled with WindowStyles and the border is considered NONCLIENT. +When the FixedSingle border is used no border WindowStyle is set, the +full Bounds is considered Client area, and the TextBox draws the +border itself. + +When FixedSingle is chosen, we need to set Control.InternalBorderStyle += None, and paint the border somewhere in TextBox. (OnPaint[Background]). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
