Changeset View
Standalone View
binaries/data/mods/public/gui/lobby/LobbyPage/GameList.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<object name="gamesBox" | <object name="gamesBox" | ||||
style="ModernSortedList" | style="ModernSortedList" | ||||
selected_column="gameName" | selected_column="gameName" | ||||
selected_column_order="1" | selected_column_order="1" | ||||
type="olist" | type="olist" | ||||
sortable="true" | sortable="true" | ||||
font="sans-stroke-13" | font="sans-stroke-13" | ||||
size="0 0 100% 100%" | |||||
> | > | ||||
<column id="buddy" width="12"/> | <column id="private" width="21"/> | ||||
<column id="private" width="20"/> | <column id="gameName" color="0 160 160" width="30%"> | ||||
Silier: and you should take -21 from some column here as well | |||||
Done Inline ActionsCan't deduct from a width tag. And cannot use a size tag for a column. Grapjas: Can't deduct from a width tag. And cannot use a size tag for a column. | |||||
<column id="gameName" color="128 128 128" width="33%-12"> | |||||
Done Inline Actionsdeducting/adding has no effect on the width tag, only works on the size tag. Grapjas: deducting/adding has no effect on the width tag, only works on the size tag. | |||||
<translatableAttribute id="heading">Name</translatableAttribute> | <translatableAttribute id="heading">Name</translatableAttribute> | ||||
</column> | </column> | ||||
<column id="mapName" color="128 128 128" width="25%"> | <column id="mapName" color="0 160 160" width="20%"> | ||||
<translatableAttribute id="heading">Map Name</translatableAttribute> | <translatableAttribute id="heading">Map Name</translatableAttribute> | ||||
</column> | </column> | ||||
<column id="mapSize" color="128 128 128" width="16%"> | <column id="mapType" color="0 160 160" width="20%"> | ||||
<translatableAttribute id="heading" context="map">Size</translatableAttribute> | <translatableAttribute id="heading" context="map">Type (size)</translatableAttribute> | ||||
</column> | </column> | ||||
<column id="mapType" color="0 160 160" width="16%"> | <column id="maxnbp" color="0 128 128" width="20%"> | ||||
<translatableAttribute id="heading" context="map">Type</translatableAttribute> | <translatableAttribute id="heading">Players (Rating)</translatableAttribute> | ||||
</column> | |||||
<column id="maxnbp" color="0 128 128" width="10%"> | |||||
<translatableAttribute id="heading">Players</translatableAttribute> | |||||
</column> | |||||
<column id="gameRating" color="0 160 160" width="16%"> | |||||
<translatableAttribute id="heading">Rating</translatableAttribute> | |||||
</column> | </column> | ||||
</object> | </object> | ||||
Not Done Inline Actionsthe whole width of all columns is not 100% causing unused space after the last one Silier: the whole width of all columns is not 100% causing unused space after the last one
also width… | |||||
Done Inline Actions
Because i'm somehow missing about 18px width (regardless of gamelist.xml width settings) in a gamelist row i have to leave that space in the end, otherwise items will clip into that missing space if you make the screen small. I think the issue for the missing space might be inside the core engine but not entirely sure yet. Grapjas: > the whole width of all columns is not 100% causing unused space after the last one
Because… | |||||
Done Inline Actions
I agree, once i find out what is causing the missing space. Grapjas: > also width of filters needs to be synchronized with this
I agree, once i find out what is… |
and you should take -21 from some column here as well