From 8973467c2645f268f4cd15a9653af4243bf1ac61 Mon Sep 17 00:00:00 2001 From: Chad Estioco Date: Mon, 23 Apr 2018 23:17:30 +0800 Subject: [PATCH] Remove label_font in the constructor of Button. For the sake that it will not clutter up the code. Made as a nice-to-have at #39. --- components/common_ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common_ui.py b/components/common_ui.py index ae96375..2363484 100644 --- a/components/common_ui.py +++ b/components/common_ui.py @@ -57,7 +57,7 @@ class Button(CommonUI): VPADDING = 18 HPADDING = 18 - def __init__(self, label, color, position, label_font=None): + def __init__(self, label, color, position): """ Draws a rectangular button.