From fb1409937e33ae9f64538d3a1be90ffe5909524a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 12 Apr 2003 17:22:20 +0000 Subject: center close button svn-id: r6989 --- scumm/dialogs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/dialogs.cpp') diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 9d48d338f7..5d1d53e2a7 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -612,7 +612,7 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data AboutDialog::AboutDialog(NewGui *gui, Scumm *scumm) : ScummDialog(gui, scumm, 30, 20, 260, 124) { - addButton(110, 100, queryCustomString(23), kCloseCmd, 'C'); // Close dialog - FIXME + addButton((_w - kButtonWidth)/2, 100, queryCustomString(23), kCloseCmd, 'C'); // Close dialog - FIXME new StaticTextWidget(this, 10, 10, 240, 16, "ScummVM " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter); new StaticTextWidget(this, 10, 30, 240, 16, "http://www.scummvm.org", kTextAlignCenter); new StaticTextWidget(this, 10, 50, 240, 16, "All games (c) LucasArts", kTextAlignCenter); -- cgit v1.2.3