Skip to content

Commit f58bd3f

Browse files
authored
Correct GameCreationWindow height for undefined size (CnCNet#772)
1 parent dfb4224 commit f58bd3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DXMainClient/DXGUI/Multiplayer/CnCNet/GameCreationWindow.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ public override void Initialize()
181181
AddChild(btnLoadMPGame);
182182
AddChild(btnCancel);
183183

184-
base.Initialize();
185-
186184
Height = btnCreateGame.Bottom + UIDesignConstants.CONTROL_VERTICAL_MARGIN + UIDesignConstants.EMPTY_SPACE_BOTTOM;
187185

186+
base.Initialize();
187+
188188
CenterOnParent();
189189

190190
UserINISettings.Instance.SettingsSaved += Instance_SettingsSaved;

0 commit comments

Comments
 (0)