mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
gui fixes for globallobby
This commit is contained in:
parent
b94a61c255
commit
fec3d070b5
@ -68,7 +68,10 @@ GlobalLobbyLoginWindow::GlobalLobbyLoginWindow()
|
||||
onLoginModeChanged(0); // call it manually to disable widgets - toggleMode will not emit this call if this is currenly selected option
|
||||
}
|
||||
else
|
||||
{
|
||||
toggleMode->setSelected(1);
|
||||
onLoginModeChanged(1);
|
||||
}
|
||||
|
||||
filledBackground->playerColored(PlayerColor(1));
|
||||
inputUsername->setCallback([this](const std::string & text)
|
||||
|
@ -286,5 +286,5 @@ GlobalLobbyMatchCard::GlobalLobbyMatchCard(GlobalLobbyWindow * window, const Glo
|
||||
opponentDescription.replaceNumber(matchDescription.participants.size());
|
||||
}
|
||||
|
||||
labelMatchOpponent = std::make_shared<CLabel>(5, 30, FONT_SMALL, ETextAlignment::CENTERLEFT, Colors::YELLOW, opponentDescription.toString());
|
||||
labelMatchOpponent = std::make_shared<CLabel>(5, 30, FONT_SMALL, ETextAlignment::CENTERLEFT, Colors::YELLOW, opponentDescription.toString(), 120);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user