Sync all themes with improvements of mass dialog. Fixed list positioning
svn-id: r41264
This commit is contained in:
parent
f2547eb62c
commit
b49d23b898
7 changed files with 25 additions and 7 deletions
|
@ -631,15 +631,18 @@ void LauncherDialog::addGame() {
|
||||||
if (alert.runModal() == GUI::kMessageOK && _browser->runModal() > 0) {
|
if (alert.runModal() == GUI::kMessageOK && _browser->runModal() > 0) {
|
||||||
MassAddDialog massAddDlg(_browser->getResult());
|
MassAddDialog massAddDlg(_browser->getResult());
|
||||||
|
|
||||||
|
// Save current game position, so on cancel cursor will move back
|
||||||
ConfMan.set("temp_selection", _domains[_list->getSelected()], ConfigManager::kApplicationDomain);
|
ConfMan.set("temp_selection", _domains[_list->getSelected()], ConfigManager::kApplicationDomain);
|
||||||
|
|
||||||
massAddDlg.runModal();
|
massAddDlg.runModal();
|
||||||
|
|
||||||
|
// Update the ListWidget and force a redraw
|
||||||
|
updateListing();
|
||||||
|
|
||||||
|
// Set cursor to first detected game
|
||||||
selectGame(ConfMan.get("temp_selection", ConfigManager::kApplicationDomain));
|
selectGame(ConfMan.get("temp_selection", ConfigManager::kApplicationDomain));
|
||||||
ConfMan.removeKey("temp_selection", ConfigManager::kApplicationDomain);
|
ConfMan.removeKey("temp_selection", ConfigManager::kApplicationDomain);
|
||||||
|
|
||||||
// Update the ListWidget and force a redraw
|
|
||||||
updateListing();
|
|
||||||
draw();
|
draw();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -976,7 +976,10 @@
|
||||||
"width='250' "
|
"width='250' "
|
||||||
"height='Globals.Line.Height' "
|
"height='Globals.Line.Height' "
|
||||||
"/> "
|
"/> "
|
||||||
"<space size='32' /> "
|
"<widget name='GameList' "
|
||||||
|
"width='480' "
|
||||||
|
"height='250' "
|
||||||
|
"/> "
|
||||||
"<layout type='horizontal' padding='8,8,8,8'> "
|
"<layout type='horizontal' padding='8,8,8,8'> "
|
||||||
"<widget name='Ok' "
|
"<widget name='Ok' "
|
||||||
"type='Button' "
|
"type='Button' "
|
||||||
|
@ -1634,7 +1637,10 @@
|
||||||
"width='240' "
|
"width='240' "
|
||||||
"height='Globals.Line.Height' "
|
"height='Globals.Line.Height' "
|
||||||
"/> "
|
"/> "
|
||||||
"<space size='16' /> "
|
"<widget name='GameList' "
|
||||||
|
"width='280' "
|
||||||
|
"height='100' "
|
||||||
|
"/> "
|
||||||
"<layout type='horizontal' padding='4,4,4,4'> "
|
"<layout type='horizontal' padding='4,4,4,4'> "
|
||||||
"<widget name='Ok' "
|
"<widget name='Ok' "
|
||||||
"type='Button' "
|
"type='Button' "
|
||||||
|
|
Binary file not shown.
|
@ -706,7 +706,10 @@
|
||||||
width = '250'
|
width = '250'
|
||||||
height = 'Globals.Line.Height'
|
height = 'Globals.Line.Height'
|
||||||
/>
|
/>
|
||||||
<space size = '32' />
|
<widget name = 'GameList'
|
||||||
|
width = '480'
|
||||||
|
height = '250'
|
||||||
|
/>
|
||||||
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
|
<layout type = 'horizontal' padding = '8, 8, 8, 8'>
|
||||||
<widget name = 'Ok'
|
<widget name = 'Ok'
|
||||||
type = 'Button'
|
type = 'Button'
|
||||||
|
|
|
@ -700,7 +700,10 @@
|
||||||
width = '240'
|
width = '240'
|
||||||
height = 'Globals.Line.Height'
|
height = 'Globals.Line.Height'
|
||||||
/>
|
/>
|
||||||
<space size = '16' />
|
<widget name = 'GameList'
|
||||||
|
width = '280'
|
||||||
|
height = '100'
|
||||||
|
/>
|
||||||
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
|
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
|
||||||
<widget name = 'Ok'
|
<widget name = 'Ok'
|
||||||
type = 'Button'
|
type = 'Button'
|
||||||
|
|
Binary file not shown.
|
@ -691,7 +691,10 @@
|
||||||
width = '240'
|
width = '240'
|
||||||
height = 'Globals.Line.Height'
|
height = 'Globals.Line.Height'
|
||||||
/>
|
/>
|
||||||
<space size = '16' />
|
<widget name = 'GameList'
|
||||||
|
width = '280'
|
||||||
|
height = '100'
|
||||||
|
/>
|
||||||
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
|
<layout type = 'horizontal' padding = '4, 4, 4, 4'>
|
||||||
<widget name = 'Ok'
|
<widget name = 'Ok'
|
||||||
type = 'Button'
|
type = 'Button'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue