From c262bb4974ed293bf8e67524576477d2e92fd4f0 Mon Sep 17 00:00:00 2001 From: David Skoland Date: Wed, 25 Jan 2017 19:13:15 +0100 Subject: [PATCH] set attributes on loading screen widgets --- lobby.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lobby.cpp b/lobby.cpp index a0b37a8..feeff23 100644 --- a/lobby.cpp +++ b/lobby.cpp @@ -105,11 +105,16 @@ void Lobby::set_widgets() ui_loading_background->resize(m_lobby_width, m_lobby_height); set_size_and_pos(ui_loading_label, "loading_label"); + ui_loading_label->setFont(QFont("Arial", 20, QFont::Bold)); + ui_loading_label->setStyleSheet("color: rgba(255, 128, 0, 255);" + "qproperty-alignment: AlignCenter;"); + ui_loading_label->setText("Loading"); + set_size_and_pos(ui_progress_bar, "progress_bar"); set_size_and_pos(ui_cancel, "cancel"); ui_cancel->setText("Cancel"); - ui_loading_background->hide(); + //ui_loading_background->hide(); }