diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/ok_dialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp index 6a1ba126..b997cdb2 100644 --- a/src/gui/ok_dialog.cpp +++ b/src/gui/ok_dialog.cpp @@ -28,17 +28,17 @@ OkDialog::OkDialog(gcn::Container *parent, std::string msg): { userLabel = new gcn::Label(msg); okButton = new Button("OK"); - + setSize(200, 80); userLabel->setPosition(4, 11); okButton->setPosition(120, 52); okButton->setEventId("ok"); - + okButton->addActionListener(this); - + add(userLabel); add(okButton); - + setLocationRelativeTo(getParent()); okButton->requestFocus(); } |