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

@ -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;