diff --git a/src/states_screens/dialogs/track_info_dialog.cpp b/src/states_screens/dialogs/track_info_dialog.cpp index 769dc839c..1e394cb42 100644 --- a/src/states_screens/dialogs/track_info_dialog.cpp +++ b/src/states_screens/dialogs/track_info_dialog.cpp @@ -193,14 +193,15 @@ TrackInfoDialog::TrackInfoDialog(const std::string& trackIdent, const irr::core: screenshotWidget->y = area_right.UpperLeftCorner.Y; screenshotWidget->w = area_right.getWidth(); screenshotWidget->h = area_right.getHeight(); + std::cout << screenshotWidget->x << ", " << screenshotWidget->y << " : " << screenshotWidget->w << ", " << screenshotWidget->h << std::endl; screenshotWidget->m_properties[PROP_ICON] = "gui/main_help.png"; // temporary icon, will replace it just after //screenshotWidget->setScaleImage(true); //screenshotWidget->setTabStop(false); screenshotWidget->setParent(m_irrlicht_window); screenshotWidget->add(); - //screenshotWidget->setImage(screenshot); - + screenshotWidget->setImage(screenshot); + m_children.push_back(screenshotWidget); a->setTextAlignment(EGUIA_CENTER, EGUIA_CENTER); b->setTextAlignment(EGUIA_CENTER, EGUIA_CENTER);