atk4/atk4 — pull request #355 by DarkSide666 (2013-07-17 17:55:21+00:00)
Title: View_DropButton: fixes

Fix DropButton. Some issues showed up when you upgraded this to use View_Popover instead of Flyout. Now it works nicely.

Example usage:
$this->add('View_DropButton', null, 'User_Menu')
->setHTML('Welcome, '.$this->auth->model['name'])
->useMenu()
->addMenuItem('#', 'Messages')
->addMenuItem('#', 'Settings')
->addMenuItem('logout', 'Sign Out')
;