Add a small hack to fix the invalidation glitches in the menu bar when resizing
the window. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@453 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
committed by
Alexandre Deckner
parent
fa485bda23
commit
88b25a7da9
@@ -342,6 +342,10 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
|||||||
.Add(statusGroup)
|
.Add(statusGroup)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// TODO: Small hack for fixing some invalidation problems with BMenuBar...
|
||||||
|
mainMenu->SetFlags(mainMenu->Flags() | B_FULL_UPDATE_ON_RESIZE);
|
||||||
|
mainMenu->SetViewColor(B_TRANSPARENT_COLOR);
|
||||||
|
|
||||||
fURLInputGroup->MakeFocus(true);
|
fURLInputGroup->MakeFocus(true);
|
||||||
|
|
||||||
fMenuGroup = layoutItemFor(mainMenu);
|
fMenuGroup = layoutItemFor(mainMenu);
|
||||||
|
|||||||
Reference in New Issue
Block a user