Ticket #3085: layout.js.patch

File layout.js.patch, 2.1 KB (added by Jaison, 9 years ago)

SVN Patch

  • layout.js

     
    2525            { "caption": translate("Outposts"), "yStart": 34, "width": 85 },
    2626            { "caption": translate("Military"), "yStart": 34, "width": 85 },
    2727            { "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 },
    2929            { "caption": translate("Wonders"), "yStart": 34, "width": 85 }
    3030        ],
    3131        "titleHeadings": [
     
    3838            {"width": 85, "fn": calculateBuildings},
    3939            {"width": 85, "fn": calculateBuildings},
    4040            {"width": 85, "fn": calculateBuildings},
    41             {"width": 85, "fn": calculateBuildings},
    42             {"width": 85, "fn": calculateBuildings}
     41            {"width": 100, "fn": calculateBuildings},
     42            {"width": 105, "fn": calculateBuildings}
    4343        ],
    4444        "teamCounterFn": calculateColorsTeam
    4545    },
     
    118118        "headings": [   // headings on miscellaneous panel
    119119            { "caption": translate("Player name"), "yStart": 26, "width": 200 },
    120120            { "caption": translate("Vegetarian\nratio"), "yStart": 16, "width": 100 },
    121             { "caption": translate("Feminisation"), "yStart": 26, "width": 100 },
    122             { "caption": translate("Kill / Death\nratio"), "yStart": 16, "width": 100 },
     121            { "caption": translate("Feminisation"), "yStart": 26, "width": 125 },
     122            { "caption": translate("Kill / Death\nratio"), "yStart": 16, "width": 105 },
    123123            { "caption": translate("Map\nexploration"), "yStart": 16, "width": 100 }
    124124        ],
    125125        "titleHeadings": [],
    126126        "counters": [   // counters on miscellaneous panel
    127             {"width": 100, "fn": calculateVegetarianRatio},
    128             {"width": 100, "fn": calculateFeminisation},
    129             {"width": 100, "fn": calculateKillDeathRatio},
     127            {"width": 110, "fn": calculateVegetarianRatio},
     128            {"width": 110, "fn": calculateFeminisation},
     129            {"width": 115, "fn": calculateKillDeathRatio},
    130130            {"width": 100, "fn": calculateMapExploration}
    131131        ],
    132132        "teamCounterFn": calculateMiscellaneous