-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Text is blur in the disabled menu on windows when using svttk #1431
Text is blur in the disabled menu on windows when using svttk #1431
Comments
This is impossible to fix without knowing what the problem is :) You can:
|
imgbb is a good site. |
What should I do to deal with |
Maybe take a small-ish screenshot, convert it to base64, and paste the base64 here? To convert a file to base64, you can do this on Git Bash. I think you have Git installed.
If you don't have Git Bash, you can use python:
|
What file type are you using? |
Probably your file is corrupted, or there's something with your internet connection.
This is what sharing an image in 2024 looks like lol |
Thanks! Click to see base64
|
Ahh, that's nothing weird, it's just tkinter's way of indicating that a menu item is disabled |
I don't see anything weird 🤷♂️. |
On my computer the same menu looks like: And here is the relevant part of the base64 screenshot above: IMO it looks much worse on littlewhitecloud's computer than on mine. The text doesn't even look like it's disabled, it's just kind of blurry. I think this has to do with sv-ttk. It changes the look of the menu for me. @littlewhitecloud Run this script, what do you get? Does removing import tkinter
import sv_ttk # pip install sv-ttk
root = tkinter.Tk()
sv_ttk.set_theme('dark') # Try removing this line
main_menu = tkinter.Menu()
root.config(menu=main_menu)
submenu = tkinter.Menu(main_menu, tearoff=False)
main_menu.add_cascade(label="File", menu=submenu)
submenu.add_command(label="New File", accelerator="Ctrl+N")
submenu.add_command(label="Open", accelerator="Ctrl+O")
submenu.add_command(label="Save", accelerator="Ctrl+S", state="disabled")
submenu.add_command(label="Save As", accelerator="Ctrl+Shift+S", state="disabled")
submenu.add_separator()
submenu.add_command(label="Close", accelerator="Ctrl+W", state="disabled")
submenu.add_command(label="Quit", accelerator="Ctrl+Q")
root.mainloop() |
After removing that line, everything is fine. |
Hmm, sorry then. |
Thanks! |
I'm sorry I can't give screenshot because the shit github eats my screenshot (It uploads and disappeared)
The text was updated successfully, but these errors were encountered: