win32mica
win32mica copied to clipboard
How to disable 'ApplyMica' after use - Or - How to disable 'ApplyMica' for a specific widget in 'customtkinter'?
Hello @marticliment, thank you very much for making this library because it has a great impact on the appearance of the program! I use the following code to apply Mica style:
class App(customtkinter.CTk):
def __init__(self):
super().__init__()
self.title("Talayar")
self.geometry(center(self, 720, 1280))
self.resizable(False, False)
customtkinter.set_appearance_mode('dark')
mode = MicaTheme.DARK
style = MicaStyle.ALT
hwnd = self.frame()
ApplyMica(HWND=hwnd, Theme=mode, Style=style)
This code is applied globally to the entire program and all widgets. Now my problem is that I want to put several photos in the program, but the color of the photo gets mixed up... For example, look at the photo below, both photos are the same, but the colors are different:
Now the question is, how can I fix this problem and 'ApplyMica' does not affect the photos?