diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-05 14:37:13 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-05 14:37:13 +0000 |
commit | 9978e58ee7d9a15814b939fa8dd42254e16702b2 (patch) | |
tree | d2819558b081767fb7ed27bf2de1a991a343766c /src/gui/npc_text.cpp | |
parent | 20811a8b13a5425bcc956a380f7e8d4878eb5c9d (diff) | |
download | mana-9978e58ee7d9a15814b939fa8dd42254e16702b2.tar.gz mana-9978e58ee7d9a15814b939fa8dd42254e16702b2.tar.bz2 mana-9978e58ee7d9a15814b939fa8dd42254e16702b2.tar.xz mana-9978e58ee7d9a15814b939fa8dd42254e16702b2.zip |
Removed bugging cancel button from npc dialog and fixed npc sprites.
Diffstat (limited to 'src/gui/npc_text.cpp')
-rw-r--r-- | src/gui/npc_text.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index dc70927c..f86f45e9 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -36,8 +36,11 @@ NpcTextDialog::NpcTextDialog(gcn::Container *parent): okButton = new Button("OK"); setSize(260, 175); - scrollArea->setDimension(gcn::Rectangle(5, 5, 250, 130)); - okButton->setPosition(260 - 10 - okButton->getWidth(), 145); + scrollArea->setDimension(gcn::Rectangle( + 5, 5, 250, 160 - okButton->getHeight())); + okButton->setPosition( + 260 - 5 - okButton->getWidth(), + 175 - 5 - okButton->getHeight()); okButton->setEventId("ok"); okButton->addActionListener(this); |