mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Ensure buttons on summary screen are always on top
On low vertical resolutions when playing games with 8 players in 4 different teams, the summary will overflow the available vertical space. This commit ensures that in such a case the buttons below the summary are still clickable by ensuring they stay always on top of the summary.
This commit is contained in:
@@ -175,6 +175,7 @@
|
||||
sprite="iconBubbleGold"
|
||||
sprite_over="iconBubbleWhite"
|
||||
size="100%-436 100%-45 100%-420 100%-29"
|
||||
z="50"
|
||||
hotkey="lobby"
|
||||
>
|
||||
<action on="Press">
|
||||
@@ -183,12 +184,12 @@
|
||||
</action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="replayButton" style="ModernButtonRed" size="100%-410 100%-48 100%-210 100%-20">
|
||||
<object type="button" name="replayButton" style="ModernButtonRed" size="100%-410 100%-48 100%-210 100%-20" z="50">
|
||||
<translatableAttribute id="caption">Watch Replay</translatableAttribute>
|
||||
<action on="Press">startReplay();</action>
|
||||
</object>
|
||||
|
||||
<object type="button" name="continueButton" style="ModernButtonRed" size="100%-200 100%-48 100%-20 100%-20">
|
||||
<object type="button" name="continueButton" style="ModernButtonRed" size="100%-200 100%-48 100%-20 100%-20" z="50">
|
||||
<translatableAttribute id="caption">Continue</translatableAttribute>
|
||||
<action on="Press">continueButton();</action>
|
||||
</object>
|
||||
|
||||
Reference in New Issue
Block a user