[bugfix] checkboxを押した時にconfig buttonのサイズが変化する問題を修正

This commit is contained in:
misygauziya
2023-07-27 15:09:58 +09:00
parent 546eb7e1fc
commit a1fcf0702b

View File

@@ -325,8 +325,8 @@ class App(CTk):
# add button information # add button information
self.button_information = CTkButton( self.button_information = CTkButton(
self.sidebar_frame, self.sidebar_frame,
text="", text=None,
width=25, width=36,
command=self.button_information_callback, command=self.button_information_callback,
image=CTkImage(Image_open(os_path.join(os_path.dirname(__file__), "img", "info-icon-white.png"))) image=CTkImage(Image_open(os_path.join(os_path.dirname(__file__), "img", "info-icon-white.png")))
) )
@@ -336,8 +336,8 @@ class App(CTk):
# add button config # add button config
self.button_config = CTkButton( self.button_config = CTkButton(
self.sidebar_frame, self.sidebar_frame,
text="", text=None,
width=25, width=36,
command=self.button_config_callback, command=self.button_config_callback,
image=CTkImage(Image_open(os_path.join(os_path.dirname(__file__), "img", "config-icon-white.png"))) image=CTkImage(Image_open(os_path.join(os_path.dirname(__file__), "img", "config-icon-white.png")))
) )