diff --git a/client/gui/InterfaceObjectConfigurable.cpp b/client/gui/InterfaceObjectConfigurable.cpp index 320d999d9..f4c14a772 100644 --- a/client/gui/InterfaceObjectConfigurable.cpp +++ b/client/gui/InterfaceObjectConfigurable.cpp @@ -768,8 +768,9 @@ std::shared_ptr InterfaceObjectConfigurable::buildTextBox(const JsonNo auto alignment = readTextAlignment(config["alignment"]); auto color = readColor(config["color"]); auto text = readText(config["text"]); + auto blueTheme = config["blueTheme"].Bool(); - return std::make_shared(text, rect, 0, font, alignment, color); + return std::make_shared(text, rect, blueTheme ? 1 : 0, font, alignment, color); } std::shared_ptr InterfaceObjectConfigurable::buildWidget(JsonNode config) const diff --git a/config/widgets/lobbyWindow.json b/config/widgets/lobbyWindow.json index 936b3d4c3..5466c38c6 100644 --- a/config/widgets/lobbyWindow.json +++ b/config/widgets/lobbyWindow.json @@ -89,7 +89,8 @@ "font": "small", "alignment": "left", "color": "white", - "rect": {"x": 440, "y": 70, "w": 430, "h": 495} + "blueTheme" : true, + "rect": {"x": 440, "y": 68, "w": 418, "h": 495} }, {