Attempt to improve frame and bounds setting.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25284 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2007-06-22 09:59:17 +00:00
parent 0a607a5fbe
commit f5113092cc
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2007-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSView.m: When setting frame and bounds, refrain from
doing anything if the values set are the same as the of values.
When setting frame size or rotation, update the bounds too (attempt
to fix bug #20057).
2007-06-18 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSAttributedString.h: Add new MacOSX methods and

View file

@ -353,6 +353,7 @@ setControl(NSView* content, id control, NSString *title)
// we're an ATTENTION panel, therefore:
[self setHidesOnDeactivate: NO];
[self setBecomesKeyOnlyIfNeeded: NO];
[self setFloatingPanel: YES];
// First, the subviews that will be positioned automatically.
rect.size.height = IconSide;