mirror of
https://github.com/TomSchimansky/CustomTkinter.git
synced 2023-08-10 21:13:13 +03:00
fix image configure for button #807
This commit is contained in:
@ -17,7 +17,7 @@ class App(customtkinter.CTk):
|
||||
self.grid_columnconfigure(1, weight=1)
|
||||
|
||||
# load images with light and dark mode image
|
||||
image_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "test_images")
|
||||
image_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../test/manual_integration_tests/test_images")
|
||||
self.logo_image = customtkinter.CTkImage(Image.open(os.path.join(image_path, "CustomTkinter_logo_single.png")), size=(26, 26))
|
||||
self.large_test_image = customtkinter.CTkImage(Image.open(os.path.join(image_path, "large_test_image.png")), size=(500, 150))
|
||||
self.image_icon_image = customtkinter.CTkImage(Image.open(os.path.join(image_path, "image_icon_light.png")), size=(20, 20))
|
||||
|
Reference in New Issue
Block a user