diff --git a/data/gui/online/registration_terms.stkgui b/data/gui/online/registration_terms.stkgui index cf6d202a4..1447495be 100644 --- a/data/gui/online/registration_terms.stkgui +++ b/data/gui/online/registration_terms.stkgui @@ -7,7 +7,7 @@ - +
diff --git a/src/states_screens/dialogs/registration_dialog.cpp b/src/states_screens/dialogs/registration_dialog.cpp index 13acc1959..653a8586d 100644 --- a/src/states_screens/dialogs/registration_dialog.cpp +++ b/src/states_screens/dialogs/registration_dialog.cpp @@ -37,19 +37,14 @@ RegistrationDialog::RegistrationDialog() : ModalDialog(0.8f,0.9f) { loadFromFile("online/registration_terms.stkgui"); - ListWidget * terms_widget = getWidget("terms"); + LabelWidget* terms_widget = getWidget("terms"); - - terms_widget->addItem("title", "=== STK Terms and Conditions ===", -1 , true ); - terms_widget->addItem("par1", "You must agree to these terms in order to register an account for STK.", -1 , false ); - terms_widget->addItem("par2", - "Still needs actual content. Preferably in an XML document which can then be parsed to be put here." - , -1 , false ); - terms_widget->addItem("par3", - "By checking the box below, you are confirming that you understand these terms." - "If you have any questions or comments regarding these terms," - "one of the members of the development team would gladly assist you." - , -1 , false ); + core::stringw terms = core::stringw(L"You must agree to these terms in order to register an account for STK." + L"Still needs actual content. Preferably in an XML document which can then be parsed to be put here." + L"By checking the box below, you are confirming that you understand these terms." + L"If you have any questions or comments regarding these terms," + L"one of the members of the development team would gladly assist you."); + terms_widget->setText(terms, false); // showRegistrationTerms(); }