Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/gui/lobby/LobbyPage/PlayerList.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<object> | <object> | ||||
<object name="playersFilter" type="input" style="ModernInput" size="0 0 100% 22" font="sans-bold-13"> | <object name="playersFilter" type="input" style="ModernInput" size="0 0 100% 22" font="sans-bold-13"> | ||||
<translatableAttribute id="placeholder_text">Search for Player</translatableAttribute> | <translatableAttribute id="placeholder_text">Search for Player</translatableAttribute> | ||||
</object> | </object> | ||||
<object name="playersBox" | <object name="playersBox" | ||||
style="ModernSortedList" | style="ModernSortedList" | ||||
size="0 27 100% 100%" | size="0 27 100% 100%" | ||||
selected_column="name" | selected_column="name" | ||||
selected_column_order="1" | selected_column_order="1" | ||||
type="olist" | type="olist" | ||||
sortable="true" | sortable="true" | ||||
font="sans-bold-stroke-13" | font="sans-bold-stroke-13" | ||||
> | > | ||||
<column id="buddy" width="12"/> | <column id="status" width="17"/> | ||||
<column id="status" width="26%"> | <column id="name" width="68%"> | ||||
<translatableAttribute id="heading">Status</translatableAttribute> | |||||
</column> | |||||
<column id="name" width="48%-12"> | |||||
<translatableAttribute id="heading">Name</translatableAttribute> | <translatableAttribute id="heading">Name</translatableAttribute> | ||||
</column> | </column> | ||||
<column id="rating" width="26%"> | <column id="rating" width="62"> | ||||
Silier: math is off again:
previously: 26%+48%+26% = 100% (+12px -12px)
now: 68% + 79px | |||||
Done Inline Actionscan't make the 68% one bigger, it'll push rating out of the box. The others are purposely fixed sizes. This way rating will stay on the 1st line, even if the name happens to make it a two line row. Previously rating would be pushed on a new line if the screen was small enough (which is reported by nani). Grapjas: can't make the 68% one bigger, it'll push rating out of the box. The others are purposely fixed… | |||||
<translatableAttribute id="heading">Rating</translatableAttribute> | <translatableAttribute id="heading">Rating</translatableAttribute> | ||||
</column> | </column> | ||||
</object> | </object> | ||||
</object> | </object> |
Wildfire Games · Phabricator
math is off again:
previously: 26%+48%+26% = 100% (+12px -12px)
now: 68% + 79px