i have a label,how to make fg_color&bg_color transparent ,text_color is black #2567
maxwangwyf
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
entry = ctk.CTkEntry(self.root, width=self.square_size-4, height=self.square_size-4,font=self.font,text_color='black', border_width=0, justify='center')
pywinstyles.set_opacity(entry, value=0.5, color="#1") #it is not a good way,it makes all label transparent,i just wanna the bgcolor&fgcolor transparent
entry.place(x=x0 + self.square_size / 2, y=y0 + self.square_size / 2, anchor='center')
Beta Was this translation helpful? Give feedback.
All reactions