From f96888e4874e3693e51aabba5418da383811504a Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 2 Sep 2023 11:46:55 +0800 Subject: [PATCH] looks better --- Difficult_Rocket/gui/widget/button.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Difficult_Rocket/gui/widget/button.py b/Difficult_Rocket/gui/widget/button.py index 8b48c4d..f7ff89a 100644 --- a/Difficult_Rocket/gui/widget/button.py +++ b/Difficult_Rocket/gui/widget/button.py @@ -46,7 +46,8 @@ class BaseTheme: self.main_font = main_font def __repr__(self) -> str: - return f'<{self.__class__.__name__} main_color={self.main_color} secondary_color={self.secondary_color} main_font={self.main_font}>' + return (f'<{self.__class__.__name__} main_color={self.main_color} ' + f'secondary_color={self.secondary_color} main_font={self.main_font}>') class FontTheme(BaseTheme):