summaryrefslogtreecommitdiff
path: root/src/gui/buy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.cpp')
-rw-r--r--src/gui/buy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp
index de2593d1..e75bdbb1 100644
--- a/src/gui/buy.cpp
+++ b/src/gui/buy.cpp
@@ -43,7 +43,7 @@ BuyDialog::BuyDialog():
okButton = new Button("OK");
cancelButton = new Button("Cancel");
- setSize(260, 175);
+ setContentSize(260, 175);
scrollArea->setDimension(gcn::Rectangle(5, 5, 250, 110));
itemList->setDimension(gcn::Rectangle(5, 5, 240, 110));
slider->setDimension(gcn::Rectangle(5, 120, 200, 10));