Improved dialogs and buttons

This commit is contained in:
Mark Qvist 2022-10-13 22:12:39 +02:00
parent 7b7903be8d
commit cef44c2189
4 changed files with 29 additions and 29 deletions

View file

@ -162,8 +162,8 @@ class Messages():
def gen_del(mhash, item):
def x():
yes_button = MDRectangleFlatButton(text="Yes",font_size=sp(18), theme_text_color="Custom", line_color=self.app.color_reject, text_color=self.app.color_reject)
no_button = MDRectangleFlatButton(text="No",font_size=sp(18))
yes_button = MDRectangleFlatButton(text="Yes",font_size=dp(18), theme_text_color="Custom", line_color=self.app.color_reject, text_color=self.app.color_reject)
no_button = MDRectangleFlatButton(text="No",font_size=dp(18))
dialog = MDDialog(
title="Delete message?",
buttons=[ yes_button, no_button ],