#6573 closed defect (fixed)

Overlaping dialog "Connect to game lobby"

Reported by: phosit Owned by: marder
Priority: Nice to Have Milestone: Alpha 26
Component: UI – Game setup Keywords: simple
Cc: Patch:

Description (last modified by Langbart)

If i open Multiplayer >> Game Lobby the "Connect to game lobby" dialog is opened but the "Multiplayer Lobby" dialog is behind it. The decorations can be seen.

reproducible

Issue can be reproduced up to A23b, but not for A22. See image below for more clarity.

possible solution

Reduce the width of the entrance dialog slightly optionally annotating the choice for the dimension.

  • binaries/data/mods/public/gui/prelobby/entrance/entrance.xml

    a b  
    88    <!-- Add a translucent black background to fade out the menu page -->
    99    <object type="image" sprite="ModernFade"/>
    1010
    11     <object name="dialog" type="image" style="ModernDialog" size="50%-230 50%-130 50%+230 50%+130">
     11    <object name="dialog" type="image" style="ModernDialog" size="50%-215 50%-130 50%+215 50%+130">
    1212
    1313        <object style="ModernLabelText" type="text" size="50%-128 -18 50%+128 14">
    1414            <translatableAttribute id="caption">Multiplayer Lobby</translatableAttribute>

Attachments (2)

overlaping_dialog.png (343.9 KB ) - added by phosit 23 months ago.
dialog.jpg (49.9 KB ) - added by Langbart 23 months ago.

Download all attachments as: .zip

Change History (5)

by phosit, 23 months ago

Attachment: overlaping_dialog.png added

comment:1 by Langbart, 23 months ago

Description: modified (diff)

reproducible section

by Langbart, 23 months ago

Attachment: dialog.jpg added

comment:2 by Langbart, 23 months ago

Description: modified (diff)
Keywords: simple added

comment:3 by marder, 23 months ago

Owner: set to marder
Resolution: fixed
Status: newclosed

In 26967:

[GUI] Fix overlap in mutliplayer lobby dialog

Fixes #6573 ; reported by @phosit

Patch by @Langbart (on the ticket)

Note: See TracTickets for help on using tickets.