mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
GUI: Add ScrollContainer to in-game options Game tab
Fixes mousewheel crash and allows scrolling when there's more than 10 options
This commit is contained in:
parent
34948993ba
commit
9df444abec
@ -272,7 +272,7 @@ ConfigDialog::ConfigDialog() :
|
||||
// The game specific options tab
|
||||
//
|
||||
|
||||
int tabId = tab->addTab(_("Game"), "GlobalConfig_Engine", false);
|
||||
int tabId = tab->addTab(_("Game"), "GlobalConfig_Engine");
|
||||
|
||||
if (g_engine->hasFeature(Engine::kSupportsChangingOptionsDuringRuntime)) {
|
||||
_engineOptions = metaEngine->buildEngineOptionsWidgetDynamic(tab, "GlobalConfig_Engine.Container", gameDomain);
|
||||
@ -428,7 +428,7 @@ Common::String ExtraGuiOptionsWidget::dialogLayout(const Common::String &domain)
|
||||
if (ConfMan.getActiveDomainName().equals(domain)) {
|
||||
return "GlobalConfig_Engine_Container";
|
||||
} else {
|
||||
return "GameOptions_Engine_Container";
|
||||
return "GameOptions_Game_Container";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1444,7 +1444,7 @@
|
||||
</dialog>
|
||||
|
||||
<dialog name = 'GlobalConfig_Engine' overlays = 'Dialog.GlobalConfig.TabWidget'>
|
||||
<layout type = 'vertical' padding = '0, 0, 0, 0'>
|
||||
<layout type = 'vertical' padding = '8, 8, 8, 8'>
|
||||
<widget name = 'Container'/>
|
||||
</layout>
|
||||
</dialog>
|
||||
|
@ -1413,7 +1413,7 @@
|
||||
</dialog>
|
||||
|
||||
<dialog name = 'GlobalConfig_Engine' overlays = 'Dialog.GlobalConfig.TabWidget'>
|
||||
<layout type = 'vertical' padding = '0, 0, 0, 0'>
|
||||
<layout type = 'vertical' padding = '8, 8, 8, 8'>
|
||||
<widget name = 'Container'/>
|
||||
</layout>
|
||||
</dialog>
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1313,7 +1313,7 @@
|
||||
</dialog>
|
||||
|
||||
<dialog name = 'GlobalConfig_Engine' overlays = 'Dialog.GlobalConfig.TabWidget'>
|
||||
<layout type = 'vertical' padding = '0, 0, 0, 0'>
|
||||
<layout type = 'vertical' padding = '8, 8, 8, 8'>
|
||||
<widget name = 'Container'/>
|
||||
</layout>
|
||||
</dialog>
|
||||
|
@ -1330,7 +1330,7 @@
|
||||
</dialog>
|
||||
|
||||
<dialog name = 'GlobalConfig_Engine' overlays = 'Dialog.GlobalConfig.TabWidget'>
|
||||
<layout type = 'vertical' padding = '0, 0, 0, 0'>
|
||||
<layout type = 'vertical' padding = '8, 8, 8, 8'>
|
||||
<widget name = 'Container'/>
|
||||
</layout>
|
||||
</dialog>
|
||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user