mirror of https://github.com/kivy/kivy.git
Fix type and don't used children directly since it could be modified.
This commit is contained in:
parent
87e6847008
commit
f8f156fd41
|
@ -166,8 +166,9 @@ class Spinner(Button):
|
|||
container = dp.container
|
||||
if not container:
|
||||
return
|
||||
for value in container.children:
|
||||
item.height = self.height
|
||||
h = self.height
|
||||
for item in container.children[:]:
|
||||
item.height = h
|
||||
|
||||
def _update_dropdown(self, *largs):
|
||||
dp = self._dropdown
|
||||
|
|
Loading…
Reference in New Issue