Resize stances panel to fit better and move delete command to end of list.
This was SVN commit r10199.
This commit is contained in:
parent
3f0f1f78fb
commit
550cac253d
@ -497,10 +497,10 @@
|
|||||||
<!-- Stance Selection -->
|
<!-- Stance Selection -->
|
||||||
<object name="unitStancePanel"
|
<object name="unitStancePanel"
|
||||||
style="TranslucentPanel"
|
style="TranslucentPanel"
|
||||||
size="0 100%-43 100% 100%"
|
size="4 100%-43 100%-4 100%-4"
|
||||||
type="text"
|
type="text"
|
||||||
>
|
>
|
||||||
<object size="5 3 100% 100%">
|
<object size="1 2 100% 100%">
|
||||||
<repeat count="5">
|
<repeat count="5">
|
||||||
<object name="unitStanceButton[n]" hidden="true" style="iconButton" type="button" size="0 0 36 36" tooltip_style="sessionToolTipBottomBold" z="100">
|
<object name="unitStanceButton[n]" hidden="true" style="iconButton" type="button" size="0 0 36 36" tooltip_style="sessionToolTipBottomBold" z="100">
|
||||||
<object name="unitStanceIcon[n]" type="image" ghost="true" size="3 3 33 33"/>
|
<object name="unitStanceIcon[n]" type="image" ghost="true" size="3 3 33 33"/>
|
||||||
|
@ -234,11 +234,11 @@ function getEntityCommandsList(entState)
|
|||||||
var commands = [];
|
var commands = [];
|
||||||
if (entState.garrisonHolder)
|
if (entState.garrisonHolder)
|
||||||
commands.push("unload-all");
|
commands.push("unload-all");
|
||||||
commands.push("delete");
|
|
||||||
if (isUnit(entState))
|
if (isUnit(entState))
|
||||||
commands.push("garrison");
|
commands.push("garrison");
|
||||||
if (entState.buildEntities)
|
if (entState.buildEntities)
|
||||||
commands.push("repair");
|
commands.push("repair");
|
||||||
|
commands.push("delete");
|
||||||
return commands;
|
return commands;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user