Adjusts the lobby gamelist and dropdowns to support more translations (space-wise).

This was SVN commit r15032.
This commit is contained in:
scythetwirler 2014-04-27 14:52:32 +00:00
parent 95b0a8d9bf
commit ce0f439817

View File

@ -21,13 +21,13 @@
<!-- Left panel: Player list. -->
<object name="leftPanel" size="20 30 20% 100%-50">
<object name="playersBox" style="ModernList" type="olist" size="0 0 100% 100%" font="sans-bold-stroke-13">
<def id="status" width="27%">
<def id="status" width="26%">
<translatableAttribute id="heading">Status</translatableAttribute>
</def>
<def id="name" width="50%">
<translatableAttribute id="heading">Name</translatableAttribute>
</def>
<def id="rating" width="23%">
<def id="rating" width="24%">
<translatableAttribute id="heading">Rating</translatableAttribute>
</def>
</object>
@ -122,22 +122,22 @@
<!-- Middle panel: Filters, game list, chat box. -->
<object name="middlePanel" size="20%+5 5% 100%-255 97.2%">
<object name="gamesBox" style="ModernList" type="olist" size="0 25 100% 48%">
<object name="gamesBox" style="ModernList" type="olist" size="0 25 100% 48%" font="sans-stroke-13">
<action on="SelectionChange">updateGameSelection();</action>
<def id="name" color="0 60 0" width="20%">
<def id="name" color="0 60 0" width="27%">
<translatableAttribute id="heading">Name</translatableAttribute>
</def>
<!--<def id="ip" heading="IP" color="0 128 128" width="170"/>-->
<def id="mapName" color="128 128 128" width="25%">
<translatableAttribute id="heading">Map Name</translatableAttribute>
</def>
<def id="mapSize" color="128 128 128" width="25%">
<translatableAttribute id="heading">Map Size</translatableAttribute>
<def id="mapSize" color="128 128 128" width="16%">
<translatableAttribute id="heading">Size</translatableAttribute>
</def>
<def id="mapType" color="0 128 128" width="20%">
<translatableAttribute id="heading">Map Type</translatableAttribute>
<def id="mapType" color="0 128 128" width="16%">
<translatableAttribute id="heading">Type</translatableAttribute>
</def>
<def id="nPlayers" color="0 128 128" width="10%">
<def id="nPlayers" color="0 128 128" width="16%">
<translatableAttribute id="heading">Players</translatableAttribute>
</def>
</object>
@ -146,24 +146,24 @@
<object name="mapSizeFilter"
type="dropdown"
style="ModernDropDown"
size="45%-10 0 68% 100%"
font="sans-bold-13">
size="52%-5 0 68%-10 100%"
font="sans-13">
<action on="SelectionChange">applyFilters();</action>
</object>
<object name="mapTypeFilter"
type="dropdown"
style="ModernDropDown"
size="70% 0 88% 100%"
font="sans-bold-13">
size="68%-5 0 84%-10 100%"
font="sans-13">
<action on="SelectionChange">applyFilters();</action>
</object>
<object name="playersNumberFilter"
type="dropdown"
style="ModernDropDown"
size="90% 0 100% 100%"
font="sans-bold-13">
size="84%-5 0 100% 100%"
font="sans-13">
<action on="SelectionChange">applyFilters();</action>
</object>
@ -175,7 +175,7 @@
checked="true"
style="ModernTickBox"
size="0 0 20 20"
font="sans-bold-13">
font="sans-13">
<action on="Press">applyFilters();</action>
</object>
</object>