Custom theme suggestion
Unless somebody knows how to correct this.
Let me know if you can/cannot replicate this on your device.
Problem: Debugger window font color is black, background color is automatically set to match ‘Editor > Editor Background’ color. So text is unreadable if you use a dark editor background while using Light iPhone theme.
Solution: Add debugger window attributes to the Custom Theme configuration options.
This would allow us to specify the color of the text and background separately from wherever they are currently pulling their attributes from.
Anyone else have this issue? Or found a workaround?
@Robert_Tompkins, I have the same issue, and no workaround.
Probably not a great workaround, but you can change the table background, so it is lighter.
from objc_util import * p=ObjCClass('PA3Debugger').sharedDebugger() p.overlayView().variablesTableView().backgroundColor=UIColor.colorWithHexString_('#414141') p.overlayView().stackTableView().backgroundColor=UIColor.colorWithHexString_('#414141')
This code could go in your pythonista_startup.py file. Change the color as desired. It will stay in effect until the theme is changed.
There is not a good way to change the actual text color, without swizzling the tableview delegate, which i would not recommend.
Do you know where and what is this file?
Create a file in your
Modules and Packages -> site-packages-3 folder, called
Now paste the above code in, and force quit pythonista. Now, every time you start pythonista, that code will run.
You can add whatever other customization you need.