修复button的默认配色问题
Build and Publish / Run (push) Successful in 52s
Details
Build and Publish / Run (push) Successful in 52s
Details
This commit is contained in:
parent
9d99df6d23
commit
fc55478b12
|
@ -386,7 +386,7 @@ class ButtonFill(Button):
|
||||||
x_n += 1
|
x_n += 1
|
||||||
y_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):
|
if (_dis_color is None):
|
||||||
self._color_bd = color_type
|
self._color_bd = color_type
|
||||||
self._color_bg = color_type
|
self._color_bg = color_type
|
||||||
|
|
Loading…
Reference in New Issue