         
         // Restore focus
         systemManager.stage.focus = lastFocus;
+    }
+    
+    private function resizeHandler(event:ResizeEvent):void
+    {
+        // Size the menu as big as the app
+        currentViewMenu.width = getLayoutBoundsWidth();
+        currentViewMenu.height = getLayoutBoundsHeight();
+        currentViewMenu.invalidateSkinState();
     }
     
     //--------------------------------------------------------------------------

        currentViewMenu.removeEventListener(PopUpCloseEvent.CLOSE, viewMenuClose_handler);
        currentViewMenu.removeEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, viewMenu_mouseDownOutsideHandler);
        currentViewMenu.removeEventListener(MouseEvent.CLICK, viewMenu_clickHandler);
        
        // Private event for testing
        if (activeView.hasEventListener("viewMenuClose"))

            currentViewMenu.addEventListener(FlexMouseEvent.MOUSE_DOWN_OUTSIDE, viewMenu_mouseDownOutsideHandler);
            currentViewMenu.addEventListener(PopUpCloseEvent.CLOSE, viewMenuClose_handler);
            currentViewMenu.addEventListener(FlexEvent.OPEN, viewMenuOpen_handler);
            addEventListener(ResizeEvent.RESIZE, resizeHandler);
        }
        
        currentViewMenu.open(this, false /*modal*/);
