Ticket #3085: layout.js.patch
File layout.js.patch, 2.1 KB (added by , 9 years ago) |
---|
-
layout.js
25 25 { "caption": translate("Outposts"), "yStart": 34, "width": 85 }, 26 26 { "caption": translate("Military"), "yStart": 34, "width": 85 }, 27 27 { "caption": translate("Fortresses"), "yStart": 34, "width": 85 }, 28 { "caption": translate("Civ centers"), "yStart": 34, "width": 85},28 { "caption": translate("Civ centers"), "yStart": 34, "width": 110 }, 29 29 { "caption": translate("Wonders"), "yStart": 34, "width": 85 } 30 30 ], 31 31 "titleHeadings": [ … … 38 38 {"width": 85, "fn": calculateBuildings}, 39 39 {"width": 85, "fn": calculateBuildings}, 40 40 {"width": 85, "fn": calculateBuildings}, 41 {"width": 85, "fn": calculateBuildings},42 {"width": 85, "fn": calculateBuildings}41 {"width": 100, "fn": calculateBuildings}, 42 {"width": 105, "fn": calculateBuildings} 43 43 ], 44 44 "teamCounterFn": calculateColorsTeam 45 45 }, … … 118 118 "headings": [ // headings on miscellaneous panel 119 119 { "caption": translate("Player name"), "yStart": 26, "width": 200 }, 120 120 { "caption": translate("Vegetarian\nratio"), "yStart": 16, "width": 100 }, 121 { "caption": translate("Feminisation"), "yStart": 26, "width": 1 00},122 { "caption": translate("Kill / Death\nratio"), "yStart": 16, "width": 10 0},121 { "caption": translate("Feminisation"), "yStart": 26, "width": 125 }, 122 { "caption": translate("Kill / Death\nratio"), "yStart": 16, "width": 105 }, 123 123 { "caption": translate("Map\nexploration"), "yStart": 16, "width": 100 } 124 124 ], 125 125 "titleHeadings": [], 126 126 "counters": [ // counters on miscellaneous panel 127 {"width": 1 00, "fn": calculateVegetarianRatio},128 {"width": 1 00, "fn": calculateFeminisation},129 {"width": 1 00, "fn": calculateKillDeathRatio},127 {"width": 110, "fn": calculateVegetarianRatio}, 128 {"width": 110, "fn": calculateFeminisation}, 129 {"width": 115, "fn": calculateKillDeathRatio}, 130 130 {"width": 100, "fn": calculateMapExploration} 131 131 ], 132 132 "teamCounterFn": calculateMiscellaneous