-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rendering issue #1271
Comments
I'm also a fedora user. This is Linux specific issue. It can be resolved by upgrading your python version to 3.10. |
I'm currently using Python v3.12.1 and still have the same issue: My conda lock file for further dependency availability information:
|
Did you solve it? Im facing the same issue on Ubuntu, using python 3.10.8 |
Found temporary hack from a comment by @sbhanji in [(https://github.com//issues/1384)] thread which make corners litttle better, but still not smooth rendering. add: customtkinter.DrawEngine.preferred_drawing_method = "circle_shapes" |
I'm trying to run this simple example code to render a button. When I run the program, I see GUI like this
Could someone shed light on what is causing this issue?
System Information
NAME="Red Hat Enterprise Linux Server"
VERSION="7.9 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
Kernel version- 3.10.0-1160.81.1.el7.x86_64
echo $XDG_CURRENT_DESKTOP= GNOME
**Code **
import tkinter
import customtkinter
customtkinter.set_appearance_mode("System") # Modes: system (default), light, dark
customtkinter.set_default_color_theme("blue") # Themes: blue (default), dark-blue, green
app = customtkinter.CTk() # create CTk window like you do with the Tk window
app.geometry("400x240")
def button_function():
print("button pressed")
button = customtkinter.CTkButton(master=app, text="CTkButton", command=button_function)
button.place(relx=0.5, rely=0.5, anchor=tkinter.CENTER)
app.mainloop()
The text was updated successfully, but these errors were encountered: