Hi, I've been working on getting my Windows Forms app to work under Mono and finding a few bugs along the way... This one relates to the ControlBox property of the Form class. When ControlBox is set to false, the form should have a title bar only if the Text property is not empty. So whenever the Text or Controlbox properties change this needs to be tested for and the Window size adjusted accordingly. See the attached patch, which is probably overkill. I haven't written or run any tests for this sorry as I'm still getting familiar with the Mono environment.
Lachlan Keown
Windows.Forms.ControlBox.diff
Description: Binary data
_______________________________________________ Mono-winforms-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-winforms-list
