Fix bug 148841: make sure the url autocomplete widget doesn't cover menus by putting it in the floating window layer, rather than the popup layer.

This commit is contained in:
sfraser%netscape.com 2002-07-05 01:54:18 +00:00
Родитель d22af0653b
Коммит 6991906805
4 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -88,7 +88,7 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
mPopupWin = [[[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,0,0)
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO] retain];
[mPopupWin setReleasedWhenClosed:NO];
[mPopupWin setLevel:NSPopUpMenuWindowLevel];
[mPopupWin setLevel:NSFloatingWindowLevel];
[mPopupWin setHasShadow:YES];
[mPopupWin setAlphaValue:0.9];

Просмотреть файл

@ -88,7 +88,7 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
mPopupWin = [[[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,0,0)
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO] retain];
[mPopupWin setReleasedWhenClosed:NO];
[mPopupWin setLevel:NSPopUpMenuWindowLevel];
[mPopupWin setLevel:NSFloatingWindowLevel];
[mPopupWin setHasShadow:YES];
[mPopupWin setAlphaValue:0.9];

Просмотреть файл

@ -88,7 +88,7 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
mPopupWin = [[[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,0,0)
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO] retain];
[mPopupWin setReleasedWhenClosed:NO];
[mPopupWin setLevel:NSPopUpMenuWindowLevel];
[mPopupWin setLevel:NSFloatingWindowLevel];
[mPopupWin setHasShadow:YES];
[mPopupWin setAlphaValue:0.9];

Просмотреть файл

@ -88,7 +88,7 @@ NS_IMPL_ISUPPORTS1(AutoCompleteListener, nsIAutoCompleteListener)
mPopupWin = [[[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,0,0)
styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO] retain];
[mPopupWin setReleasedWhenClosed:NO];
[mPopupWin setLevel:NSPopUpMenuWindowLevel];
[mPopupWin setLevel:NSFloatingWindowLevel];
[mPopupWin setHasShadow:YES];
[mPopupWin setAlphaValue:0.9];