Sync all themes with improvements of mass dialog. Fixed list positioning

svn-id: r41264
This commit is contained in:
Eugene Sandulenko 2009-06-06 17:50:30 +00:00
parent f2547eb62c
commit b49d23b898
7 changed files with 25 additions and 7 deletions

View File

@ -631,15 +631,18 @@ void LauncherDialog::addGame() {
if (alert.runModal() == GUI::kMessageOK && _browser->runModal() > 0) {
MassAddDialog massAddDlg(_browser->getResult());
// Save current game position, so on cancel cursor will move back
ConfMan.set("temp_selection", _domains[_list->getSelected()], ConfigManager::kApplicationDomain);
massAddDlg.runModal();
// Update the ListWidget and force a redraw
updateListing();
// Set cursor to first detected game
selectGame(ConfMan.get("temp_selection", ConfigManager::kApplicationDomain));
ConfMan.removeKey("temp_selection", ConfigManager::kApplicationDomain);
// Update the ListWidget and force a redraw
updateListing();
draw();
}

View File

@ -976,7 +976,10 @@
"width='250' "
"height='Globals.Line.Height' "
"/> "
"<space size='32' /> "
"<widget name='GameList' "
"width='480' "
"height='250' "
"/> "
"<layout type='horizontal' padding='8,8,8,8'> "
"<widget name='Ok' "
"type='Button' "
@ -1634,7 +1637,10 @@
"width='240' "
"height='Globals.Line.Height' "
"/> "
"<space size='16' /> "
"<widget name='GameList' "
"width='280' "
"height='100' "
"/> "
"<layout type='horizontal' padding='4,4,4,4'> "
"<widget name='Ok' "
"type='Button' "

Binary file not shown.

View File

@ -706,7 +706,10 @@
width = '250'
height = 'Globals.Line.Height'
/>
<space size = '32' />
<widget name = 'GameList'
width = '480'
height = '250'
/>
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
<widget name = 'Ok'
type = 'Button'

View File

@ -700,7 +700,10 @@
width = '240'
height = 'Globals.Line.Height'
/>
<space size = '16' />
<widget name = 'GameList'
width = '280'
height = '100'
/>
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
<widget name = 'Ok'
type = 'Button'

Binary file not shown.

View File

@ -691,7 +691,10 @@
width = '240'
height = 'Globals.Line.Height'
/>
<space size = '16' />
<widget name = 'GameList'
width = '280'
height = '100'
/>
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
<widget name = 'Ok'
type = 'Button'