Open MarieCaroline opened 5 years ago
Mac can be very picky about which widgets you can change...
Windows/Linux seem much happier for you to change widgets, but Mac often ignores changes. Buttons are especially problematic.
I'll need to do some checks on these widgets, to see if it's possible...
Bug Report
Hi, I'm not sure whether I'm just missing something obvious but I have run into the following issue/question:
Context
Trying to make a simple UI with a drop down selection and a few buttons.
Expected Behaviour
I would expect adding
app.setFg("red", override=True)
to set all Fg including the text on buttons and on the drop down menu to red. I would expectapp.setButtonFg("Cancel", "black")
to set the text on a button to be black.Actual Behaviour
Neither of the above code causes changes to the text on the buttons and
app.setFg("red", override=True)
does not change the color of the default text of the drop down menu.Default behavior with no Fg or Bg changes:
Added the following bits of code:
![Screen Shot 2019-08-20 at 9 51 56 AM](https://user-images.githubusercontent.com/10752341/63353708-27335480-c331-11e9-9b26-562fa2ecf3f5.png)
app.setFg("red", override=True)
app.setButtonFg("Cancel", "black")
app.setButtonBg("Cancel", "gray")
Any error messages produced by appJar
No error message
Sample code, demonstrating the issue
What steps are needed to reproduce the bug
Running on Mac the above code should produce the following output:![Screen Shot 2019-08-20 at 10 26 37 AM](https://user-images.githubusercontent.com/10752341/63355975-040aa400-c335-11e9-9855-efc39d3f380e.png)
Version Information
appJar: 0.94.0 Python: 3.7.2 TCL: 8.5, TK: 8.5 Platform: Darwin pid: 15339 locale: en_US
MacOS Mojave 10.14.5 (18F132)