From eb28c5a09288e563011b11eafea1c772a7127e7f Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sat, 28 Dec 2019 10:43:58 +0100 Subject: GUI: Use a dialog theme layout for the unknown game dialog --- gui/options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui/options.cpp') diff --git a/gui/options.cpp b/gui/options.cpp index 599d865ffb..137494f211 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -1551,7 +1551,7 @@ void GlobalOptionsDialog::build() { _graphicsTabId = tab->addTab(g_system->getOverlayWidth() > 320 ? _("Graphics") : _("GFX"), "GlobalOptions_Graphics"); ScrollContainerWidget *graphicsContainer = new ScrollContainerWidget(tab, "GlobalOptions_Graphics.Container", "GlobalOptions_Graphics_Container", kGraphicsTabContainerReflowCmd); graphicsContainer->setTarget(this); - graphicsContainer->setBackgroundType(ThemeEngine::kDialogBackgroundNone); + graphicsContainer->setBackgroundType(ThemeEngine::kWidgetBackgroundNo); addGraphicControls(graphicsContainer, "GlobalOptions_Graphics_Container."); // @@ -1768,7 +1768,7 @@ void GlobalOptionsDialog::build() { ScrollContainerWidget *container = new ScrollContainerWidget(tab, "GlobalOptions_Cloud.Container", "GlobalOptions_Cloud_Container", kCloudTabContainerReflowCmd); container->setTarget(this); - container->setBackgroundType(ThemeEngine::kDialogBackgroundNone); + container->setBackgroundType(ThemeEngine::kWidgetBackgroundNo); setTarget(container); addCloudControls(container, "GlobalOptions_Cloud_Container.", g_system->getOverlayWidth() <= 320); -- cgit v1.2.3