kivy tx_dialog: fix size of buttons in "Options" dropdown

This commit is contained in:
SomberNight
2019-06-04 21:00:48 +02:00
parent fbcf6f48b9
commit 0ec574bcf8

View File

@@ -184,7 +184,7 @@ class TxDialog(Factory.Popup):
self._action_button_fn = dropdown.open
for option in options:
if option.enabled:
btn = Button(text=option.text, size_hint_y=None, height=48)
btn = Button(text=option.text, size_hint_y=None, height='48dp')
btn.bind(on_release=option.func)
dropdown.add_widget(btn)