summaryrefslogtreecommitdiff
path: root/src/gui/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npc.cpp')
-rw-r--r--src/gui/npc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp
index 9b08fd35..1753178b 100644
--- a/src/gui/npc.cpp
+++ b/src/gui/npc.cpp
@@ -36,7 +36,7 @@ NpcListDialog::NpcListDialog():
okButton = new Button("OK");
cancelButton = new Button("Cancel");
- setSize(260, 175);
+ setContentSize(260, 175);
scrollArea->setDimension(gcn::Rectangle(
5, 5, 250, 160 - okButton->getHeight()));
cancelButton->setPosition(