r/pythonhelp • u/desperato_ • Jan 21 '24
How do I get rid of CTkButton borders when I lift the component over a CTkFrame?
1
Upvotes
I have a Frame from the ctk library and a button that is lifted over the frame. The button has square-shaped borders and I cannot neither set their color transparent nor set their highlightthickness to 0 like in normal Tk library. How can I get rid of those borders?
slide_panel_button = Default_Components.ctk.CTkButton(window, text = '', width=50,height=40,command = animated_panel.animate, image=Default_Components.ctk.CTkImage(Image.open('sidebar_image.png')), fg_color='#2a4993')