From ddb1173bf8c0e2a9ba1a29825fc999587803e404 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 26 Mar 2003 22:41:12 +0000 Subject: grow default buttons size & browser dialog to accomodate for spanish games svn-id: r6871 --- scumm/dialogs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/dialogs.cpp') diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 05a114eabf..9d48d338f7 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -304,7 +304,7 @@ enum { SaveLoadDialog::SaveLoadDialog(NewGui *gui, Scumm *scumm) : ScummDialog(gui, scumm, 30, 18, 260, 162) { - const int x = 196; + const int x = _w - kButtonWidth - 8; // The headline addResText(0, 7, 260, 16, 1); @@ -317,7 +317,7 @@ SaveLoadDialog::SaveLoadDialog(NewGui *gui, Scumm *scumm) addButton(x, 100, queryResString(8), kQuitCmd, 'Q'); // Quit // The save game list - _savegameList = new ListWidget(this, 8, 20, 182, 134); + _savegameList = new ListWidget(this, 8, 20, x - 14, 134); } void SaveLoadDialog::open() { -- cgit v1.2.3