diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-20 12:50:26 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-03-20 12:50:26 +0000 |
commit | 90e5ce7e958418f0d39d38112d33d3190a78baea (patch) | |
tree | 012150b22e971e44d0f7e795ef48384e15392940 /src/gui/ok_dialog.cpp | |
parent | 9ca202ae89bbe60f2cd1c8e3249a4fe3f8972a2b (diff) | |
download | mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.gz mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.bz2 mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.xz mana-90e5ce7e958418f0d39d38112d33d3190a78baea.zip |
TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!
Also fixed a crash on clicking wallpaper in login phase.
Diffstat (limited to 'src/gui/ok_dialog.cpp')
-rw-r--r-- | src/gui/ok_dialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp index 9164cfa3..e7ff1449 100644 --- a/src/gui/ok_dialog.cpp +++ b/src/gui/ok_dialog.cpp @@ -50,7 +50,7 @@ void OkDialog::init(const std::string &msg, gcn::ActionListener *listener) w = okButton->getWidth() + 10; } - setSize(w, h); + setContentSize(w, h); userLabel->setPosition(10, 10); okButton->setPosition( (w - okButton->getWidth()) / 2, |