stolenrays
Deity
- Joined
- Aug 2, 2009
- Messages
- 2,063
Plat, how would I fix this so the buttons from CvTechChooser to enable the vassals are listed in a column instead of side by side?
Code:
# Vassal States
#########################################################
# Client States START
#########################################################
for j in range( gc.getNumVassalInfos() ):
if ( gc.getVassalInfo(j).getTech() == i ):
szVassalStateButton = "VassalState" + str(i) + str(j)
screen.addDDSGFCAt( szVassalStateButton , szTechRecord, gc.getVassalInfo(j).getButton(), iX + fX, iY + Y_ROW, TEXTURE_SIZE, TEXTURE_SIZE, WidgetTypes.WIDGET_HELP_VASSAL_STATE, -1, i, False )
fX += X_INCREMENT
#########################################################
# Client States END
#########################################################