mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-03 23:52:41 +00:00
Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
This commit is contained in:
parent
f2547eb62c
commit
b49d23b898
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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.
@ -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'
|
||||
|
@ -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.
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user