diff options
author | Rolf Bjarne Kvinge <RKvinge@novell.com> | 2007-01-24 13:14:45 +0300 |
---|---|---|
committer | Rolf Bjarne Kvinge <RKvinge@novell.com> | 2007-01-24 13:14:45 +0300 |
commit | 5358197f88c919416e2ba4e80290b730a7cd181a (patch) | |
tree | f32baa2787850a7d38327b13681bd6aa9819b3d9 /mcs | |
parent | 0a1d87626b0206b89baa1d85e93f48ba546f25c9 (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
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs | 4 |
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); } } |