From 49dce75a51b29091cda1d462707cdc46fbd0c837 Mon Sep 17 00:00:00 2001
From: SupSuper <supsuper@gmail.com>
Date: Wed, 6 Jan 2021 21:16:57 +0000
Subject: [PATCH] GUI: Default new widgets to useRTL = true

This corrects the RTL layout of widgets created in code
such as engine options.
---
 gui/ThemeEval.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui/ThemeEval.h b/gui/ThemeEval.h
index c4158e5edd8..26803ebb919 100644
--- a/gui/ThemeEval.h
+++ b/gui/ThemeEval.h
@@ -76,7 +76,7 @@ public:
 
 	ThemeEval &addDialog(const Common::String &name, const Common::String &overlays, int16 maxWidth = -1, int16 maxHeight = -1, int inset = 0);
 	ThemeEval &addLayout(ThemeLayout::LayoutType type, int spacing = -1, ThemeLayout::ItemAlign itemAlign = ThemeLayout::kItemAlignStart);
-	ThemeEval &addWidget(const Common::String &name, const Common::String &type, int w = -1, int h = -1, Graphics::TextAlign align = Graphics::kTextAlignStart, bool useRTL = false);
+	ThemeEval &addWidget(const Common::String &name, const Common::String &type, int w = -1, int h = -1, Graphics::TextAlign align = Graphics::kTextAlignStart, bool useRTL = true);
 	ThemeEval &addImportedLayout(const Common::String &name);
 	ThemeEval &addSpace(int size = -1);