Open cplusx opened 4 years ago
Likely due to You are running on OSX, and that OS has strict guidelines for the appearance of buttons. You can't change the relief on buttons on OSX.
kcauto is largely untested on OSX. That said, for your current issue you can remove the two lines here:
https://github.com/mrmin123/kcauto/blob/master/kcauto/gui/layout_base.py#L180-L181
and run it again.
The relief
issue is solved, but got another tkinter error
_tkinter.TclError: unknown option "-fg"
Do you have any idea about which file should I locate?
I searched for keyword, there is no explicit assignment of fg=xxx
the CLI should run without issues, the flag is --cli
you were missing a -
as for the -fg
option, theres multiple usages of it in config_tab_buttons.py
and gui_tab_buttons.py
In order to get it running on OSX you may need to also install pyobjc
Note that PySimpleGUI Buttons recently changed for the Mac. They are no longer tk.Button but instead ttk.Button. You can force them to be either one but for the Mac the default is ttk buttons. If using the .Widget
extension of PySimpleGUI then you'll likely run into problems if originally used the settings using tk.Button parameters.
CHANGELOG.md
):v8.0.0-rc1Is the issue consistent (can be reproduced consistently) or is it intermittent (only happens sometimes)?: Yes
Please provide a thorough description of the issue. Screenshots, videos, or at least a step-by-step description of what is happening in the game is typically necessary to debug. line
self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
pops error_tkinter.TclError: unknown option "-relief"
. My python is 3.7.5, tkinter version 3.6.8Log