Kunda1 wrote: ↑Wed Sep 04, 2019 3:51 pm
Text in the Addon Manager Panel is hard to differentiate
After a fraught day on a slow internet connection with AddonManager I decided to (and I emphasise) lash something up in AddonManager to check the stylesheet in use and set a text and banner background colour for each. Therefore please make sure you keep a copy of your existing three files before having a play with the attached versions, residing in src\Mod\AddonManager\
At line 75 in AddonManager.py you will find the colours that I chose for my testing, obviously this is a very subjective matter and so by all means change to ones that suit your taste. If you change your Stylesheet you need to just run AddonManager and then close it for the logic to kick in and then restart FreeCAD as the code is loaded at startup.
Code: Select all
sDefBackColor = '#ffffff'
sDefTextColor = '#000000'
sDarkBackColor = '#0000ff'
sDarkTextColor = '#ffffff'
sLightBackColor = '#ffffff'
sLightTextColor = '#000000'
My HTML coding skills are even worse than my Python so don't be surprised to see some strange formatting. To be honest I wasn't even contemplating a PR as I'm sure there's a far better solution but I needed something for my own sanity being selfish!!
Only tested using:
OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19036 (Git)
Build type: Release
Branch: master
Hash: 2eb208cab5257db9ab473a2794c171f8d7201408
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)