Skip to content
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

Filedialog unreadable #16

Open
AnjaRy opened this issue Aug 21, 2024 · 4 comments
Open

Filedialog unreadable #16

AnjaRy opened this issue Aug 21, 2024 · 4 comments

Comments

@AnjaRy
Copy link

AnjaRy commented Aug 21, 2024

I use this theme for an application on Linux.
In both, dark and light mode, it is impossible to read the filenames in the filedialog boxes, as they are white foreground on white background. After selection, they appear black.
Is there an easy solution to this I can use?

image

@rdbende
Copy link
Owner

rdbende commented Sep 10, 2024

Unfortunately I couldn't figure out how to fix this, even after a couple of years.

Here are similar issues in my other repositories for reference:
rdbende/Sun-Valley-ttk-theme#104
rdbende/Azure-ttk-theme#53
rdbende/Azure-ttk-theme#35

@Dakyz
Copy link

Dakyz commented Sep 12, 2024

u can try add black foreground after theme init:

# Set the initial theme
self.root.tk.call('source', 'Gui/Theme/forest-dark.tcl')
ttk.Style().theme_use('forest-dark')

# add this
self.root.option_add('*foreground', 'black')

or just use light theme)

@AnjaRy
Copy link
Author

AnjaRy commented Sep 17, 2024

u can try add black foreground after theme init:

Thanks for the suggestion, this would solve the problem in the filedialogbox; However, it makes more problems, as now the menulist and some other elements are not readable anymore....

Is there an option to change the background of the filedialogbox?

or just use light theme)

I want to offer both options to the users in the end, so this does not really solve my problem

@Dakyz
Copy link

Dakyz commented Sep 17, 2024

However, it makes more problems, as now the menulist and some other elements are not readable anymore....

yes, I know. but I would say at least more readable in menulist than in the filedialog boxes previously.

Is there an option to change the background of the filedialogbox?

I don't know...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants