Civciv5
Grand Emperor
A thousand thanks to you , The_J, I will check it out soon!
mmhh...adjusting my mod comp to that shouldn't be too hard.
I hope I can find some time on Sunday for that.
I would like to take the scroll bar more to the right.No real idea (although I have a suspicion that I have edited around in that part of the interface at some point...where is it...don't know...will have to look it up...).
What exactly do you want to adjust?
I would like to take the scroll bar more to the right.
screen.addTableControlGFC( "SelectedCityText", 3, 10, yResolution - 139, 183, 128, False, False, 32, 32, TableStyles.TABLE_STYLE_STANDARD )
I hope he appears, he is a great help to the civ-community.If you could get ahold of AIAndy, he is really really good with any CvMainInterface.py problems, but he has been missing in action for 2 weeks now![]()
The scrollbar should be part of the list itself, so making the list itself wider should move it to the right. It's just a question of figuring out which control is the right one...
It is probably a "table" type thing with one column added via something like "screen.addTableControlGFC" which has the width as the 5th parameter.
I am assuming that is the city build list in the lower left corner of the screen. If so, then that is the "InfoPane" and the place to do the adjusting would be in updateInfoPaneStrings, at the line that says this, or something like it:
The value 183 is the width of the table.Code:screen.addTableControlGFC( "SelectedCityText", 3, 10, yResolution - 139, 183, 128, False, False, 32, 32, TableStyles.TABLE_STYLE_STANDARD )
bool bIsProcess = city.isProductionProcess();
int iPastOverflow = (bIsProcess ? 0 : city.getOverflowProduction());
bIsProcess = city.isProductionProcess()
iPastOverflow = if bIsProcess 0 else city.getOverflowProduction()
bIsProcess = city.isProductionProcess()
if bIsProcess:
iPastOverflow = 0
else:
iPastOverflow = city.getOverflowProduction()
an alternate (but bulkier) version of this would be do do this
Code:bIsProcess = city.isProductionProcess() if bIsProcess = city.isProductionProcess(): iPastOverflow = 0 else: iPastOverflow = city.getOverflowProduction()
iPastOverflow = 0
if not city.isProductionProcess():
iPastOverflow = city.getOverflowProduction()