Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Bjarne Kvinge <RKvinge@novell.com>2007-01-24 13:14:45 +0300
committerRolf Bjarne Kvinge <RKvinge@novell.com>2007-01-24 13:14:45 +0300
commit5358197f88c919416e2ba4e80290b730a7cd181a (patch)
treef32baa2787850a7d38327b13681bd6aa9819b3d9
parent0a1d87626b0206b89baa1d85e93f48ba546f25c9 (diff)
2007-01-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
* Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592). svn path=/trunk/mcs/; revision=71583
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog4
-rw-r--r--mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs4
2 files changed, 6 insertions, 2 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
index 27917117664..9f3897cd398 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-24 Rolf Bjarne Kvinge <RKvinge@novell.com>
+
+ * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
+
2007-01-23 Everaldo Canuto <everaldo@simios.org>
* Control.cs: In OnParentBackgroundImageChanged remove conditions to call
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
index 8663620cdad..fcb2ee08040 100644
--- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
+++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
@@ -1782,8 +1782,8 @@ namespace System.Windows.Forms {
base.OnResize(e);
- if (this.size_grip != null && this.size_grip.Visible) {
- this.size_grip.Location = new Point (ClientSize.Width - size_grip.Width, ClientSize.Height - size_grip.Height);
+ if (size_grip != null) {
+ size_grip.Location = new Point (ClientSize.Width - size_grip.Width, ClientSize.Height - size_grip.Height);
}
}