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=81371

--- shadow/81371        2007-04-13 08:56:09.000000000 -0400
+++ shadow/81371.tmp.28962      2007-04-13 09:18:10.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 81371
 Product: Mono: Class Libraries
 Version: 1.2
-OS: 
+OS: unknown
 OS Details: Linux using Metacity
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: Windows.Forms
 AssignedTo: [EMAIL PROTECTED]                            
 ReportedBy: [EMAIL PROTECTED]               
 QAContact: [EMAIL PROTECTED]
 TargetMilestone: ---
@@ -17,6 +17,41 @@
 
 When you set ClientSize to window with FormBorderStyle.FixedDialog, window
 looks to be more big than specify, it happens only using metacity.
 
 The screenshot from #81367 shows the problem, in non metacity window
 manager the space between button and border is less.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-04-13 09:18 -------
+This sample code show two forms, second with
+FormBorderStyle.FixedDialog. In Compiz both forms theres same size but
+on metacity seocnd form is biggest than first form in exactly the size
+of title bar.
+
+using System;
+using System.Drawing;
+using System.Windows.Forms;
+
+class MainForm : Form
+{
+       public MainForm ()
+       {
+               this.Text = "bug #81371:1";
+               this.StartPosition = FormStartPosition.Manual;
+               this.Location = new Point (100, 100);
+               this.ClientSize = new Size (200, 200);
+               
+               
+               Form form = new Form ();
+               form.Text = "bug #81371:2";
+               form.StartPosition = FormStartPosition.Manual;
+               form.FormBorderStyle = FormBorderStyle.FixedDialog;
+               form.Location = new Point (280, 100);
+               form.ClientSize = new Size (200, 200);
+               form.Show ();
+       }
+
+       static void Main ()
+       {
+               Application.Run (new MainForm ());
+       }
+}
_______________________________________________
mono-bugs maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to