View Full Version : Python Help?


Chuggi
Oct 01, 2008, 01:55 AM
At least I think it's related to python. I want to decrease the size of the leaderhead pics in the foreign advisor relations screen, like so:

http://img20.imageshack.us/my.php?image=screenul9.jpg
http://img20.imageshack.us/img20/6039/screenul9.jpg

I have attached the file that I think controls the size, I've tried changing some numbers in there but it didn't seem to do anything.

Also, thanks for reading. :)

The_Coyote
Oct 01, 2008, 07:54 AM
Ok, i would call myself python expert :lol: but looking at the corresponding file (CvForeignAdvisor.py) i saw a promising value. The values can be found in row 43 and 44 (self.H_LEADER and self.W_LEADER), changing this numbers reduced the size of the leaderhead buttons, used the value 48 for the pic. No idea if that harm something but it should at least a start

Chuggi
Oct 02, 2008, 04:48 AM
Wow thanks! :D I saw your post just in time, before I uploaded something 30mb+.