kivy tx_dialog: fix size of buttons in "Options" dropdown
This commit is contained in:
@@ -184,7 +184,7 @@ class TxDialog(Factory.Popup):
|
|||||||
self._action_button_fn = dropdown.open
|
self._action_button_fn = dropdown.open
|
||||||
for option in options:
|
for option in options:
|
||||||
if option.enabled:
|
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)
|
btn.bind(on_release=option.func)
|
||||||
dropdown.add_widget(btn)
|
dropdown.add_widget(btn)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user