Closed Shishkoder closed 1 month ago
Hello! I use a canvas on which I then place an image as a background. Then I place the remaining widgets on the canvas itself. In regular tkinter, when creating a canvas, you had to specify bd = -2 to remove this white border. But when using CTkCanvas, this frame may or may not appear. Tell me, please, what is the reason? I have attached a screenshot to show which white border we are talking about. I would be grateful for your help!
Setting highlightthickness=0
will remove any border around the Canvas.
Something like the following:
CTkCanvas(..., highlightthickness=0, ...)
.
Regards.
Thanks for the answer! It really helped me. It’s just strange that with tkinter it was enough to specify the bd parameter and the problem was solved, but with customtkinter it worked every other time. Thanks again!