修复button的默认配色问题
Build and Publish / Run (push) Successful in 52s Details

This commit is contained in:
cxykevin 2024-04-30 11:40:58 +08:00
parent 9d99df6d23
commit fc55478b12
1 changed files with 418 additions and 418 deletions

View File

@ -386,7 +386,7 @@ class ButtonFill(Button):
x_n += 1
y_n += 1
def __init__(self, master=None, root_anim=None, color_type="plain", w=80, h=30, text="Button", func=lambda s: print("Press"), color_list: dict = None, _dis_color=None, iconname="", iconsize=24):
def __init__(self, master=None, root_anim=None, color_type="primary", w=80, h=30, text="Button", func=lambda s: print("Press"), color_list: dict = None, _dis_color=None, iconname="", iconsize=24):
if (_dis_color is None):
self._color_bd = color_type
self._color_bg = color_type