Forest-ttk-theme icon indicating copy to clipboard operation
Forest-ttk-theme copied to clipboard

Filedialog unreadable

Open AnjaRy opened this issue 1 year ago • 4 comments

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

AnjaRy avatar Aug 21 '24 09:08 AnjaRy

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: https://github.com/rdbende/Sun-Valley-ttk-theme/issues/104 https://github.com/rdbende/Azure-ttk-theme/issues/53 https://github.com/rdbende/Azure-ttk-theme/issues/35

rdbende avatar Sep 10 '24 18:09 rdbende

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)

Dakyz avatar Sep 12 '24 14:09 Dakyz

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

AnjaRy avatar Sep 17 '24 13:09 AnjaRy

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...

Dakyz avatar Sep 17 '24 15:09 Dakyz