Merge pull request #1501 from abhijangda/action_bar_bug

Corrected bug in ActionGroup, which enables using any other DropDown with ActionGroup.
This commit is contained in:
qua-non 2013-09-14 11:26:51 -07:00
commit d8392ad5a6
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ class ActionGroup(ActionItem, Spinner):
self.is_open = not self.is_open
ddn = self._dropdown
ddn.size_hint_x = None
children = ddn.children[0].children
ddn.width = max([self.width, children[0].minimum_width])
ddn.width = max([self.width,
self.list_action_item[0].minimum_width])
for item in children:
item.size_hint_y = None
item.height = max([self.height, '48sp'])