diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-09 01:36:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-09 01:45:28 +0300 |
commit | e153ea49f7442a82651e4e35f2be59c459ad32cb (patch) | |
tree | 8daace3c1691df379296600af4ce3ab3ba5325d0 /src/gui/windows/didyouknowwindow.cpp | |
parent | b2c430f8e0fd67c6529227f8e8bebdc407ef530d (diff) | |
download | manaplus-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.gz manaplus-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.bz2 manaplus-e153ea49f7442a82651e4e35f2be59c459ad32cb.tar.xz manaplus-e153ea49f7442a82651e4e35f2be59c459ad32cb.zip |
Use all parameters in browserbox constructors.
Also load browserbox skin for each instance.
Diffstat (limited to 'src/gui/windows/didyouknowwindow.cpp')
-rw-r--r-- | src/gui/windows/didyouknowwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/didyouknowwindow.cpp b/src/gui/windows/didyouknowwindow.cpp index 88c579d57..f854e58f5 100644 --- a/src/gui/windows/didyouknowwindow.cpp +++ b/src/gui/windows/didyouknowwindow.cpp @@ -49,7 +49,7 @@ DidYouKnowWindow::DidYouKnowWindow() : // TRANSLATORS: did you know window name Window(_("Did You Know?"), false, nullptr, "didyouknow.xml"), gcn::ActionListener(), - mBrowserBox(new BrowserBox(this)), + mBrowserBox(new BrowserBox(this, BrowserBox::AUTO_SIZE, true)), mScrollArea(new ScrollArea(mBrowserBox, true, "didyouknow_background.xml")), // TRANSLATORS: did you know window button |