CDA: Editing Ressource Icons Size

whismerhill

Chieftain
Joined
Sep 21, 2009
Messages
39
Hello, I would like to enlarge Ressource Icons Size in the Custom Domestic Advisor (the one modified for BUG)
they are a bit small on my 1680x1050 LCD with my poor eyes :(

is this possible ? in which file should I look ?

thanks.
 
Try modifying Python/Screens/CvCustomizableDomesticAdvisor.py using Notepad or any text editor. Look for two lines exactly like this:

Code:
desc = u"%c" % info.getChar()

and change them both to this

Code:
desc = u"[B][COLOR="DarkOrange"]<font=3>[/COLOR][/B]%c[B][COLOR="DarkOrange"]</font>[/COLOR][/B]" % info.getChar()

The default font size is 2, and the icons at size 3 will be slightly cut off on the right edge but still legible. Are the other icon headings difficult to see as well? I could add an option to toggle the size of all or just the bonus icons (the latter is easier since it's in two places).
 
Thanks a lot, I'll try that right away! And no it's just the resources' ones for me
I find Happiness, Food, Health and all other icons "readable"

if you want to do an option for changing their size, well you could... (of course lol)
however I can't really say if other people might be interested by that ;)
As an indication I wear glasses although nothing too heavy ... (astigmatism)
 
Back
Top Bottom