             closeBut.addChild(closeUp);
             closeBut.x = pinBut.x + pinBut.width + 5;
             closeBut.addEventListener(MouseEvent.CLICK, closeButtonHandler);
-
+            
             tools.addChild(searchBg);
             tools.addChild(searchLabelBg);
             tools.addChild(searchLabel);

    private function removedHandler(evt:Event):void
    {
        stage.removeEventListener(Event.RESIZE, fitToStage);

        titleBar.removeEventListener(MouseEvent.CLICK, toggleCollapse);
    }

    /**
     * toggle event handler.
     * @param evt

    {
        return _level;
    }
    
    public function set level(value:LogLevel):void
    {
        _level = value;
    }
    
    //==========================================================================
    //  Methods
    //==========================================================================
    
    /**
     * @inheritDoc
     */
