CustomTkinter
CustomTkinter copied to clipboard
Common issue with an ugly line in segmented button when screen scaling in Windows is set to more than 100%
An ugly line shows up when screen scaling in Windows is set to more than 100%
It happens even with the most basic code, so I'm pretty sure it is a common customtkinter issue. I'm just surprised it hasn't been reported yet.
Code to recreate (at 125% scaling):
class Root(ctk.CTk):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.geometry('200x200')
button = ctk.CTkSegmentedButton(self, values=['Value 1', 'Value 2'])
button.pack(padx=20, pady=20)
if __name__ == '__main__':
root = Root()
root.mainloop()