diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/npcdialog.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp index df253b752..0fbd52456 100644 --- a/src/gui/npcdialog.cpp +++ b/src/gui/npcdialog.cpp @@ -131,22 +131,11 @@ NpcDialog::NpcDialog(const int npcId) : mItemList->setRowHeight(gui->getNpcFont()->getHeight()); setContentSize(260, 175); - mListScrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER); - mItemList->setVisible(true); - - // Setup string input box mTextField->setVisible(true); - - // Setup int input box mIntField->setVisible(true); - - // Setup button - - //Setup more and less buttons (int input) - const gcn::Font *const fnt = mButton->getFont(); int width = std::max(fnt->getWidth(CAPTION_WAITING), fnt->getWidth(CAPTION_NEXT)); @@ -155,7 +144,6 @@ NpcDialog::NpcDialog(const int npcId) : mButton->setWidth(8 + width); - // Place widgets buildLayout(); |