GUI: RTL: Get internal widget RTL flag from theme

This commit is contained in:
aryanrawlani28 2020-05-22 20:01:19 +05:30 committed by Eugene Sandulenko
parent 58704be218
commit 07ab77d065
12 changed files with 41 additions and 37 deletions

View file

@ -309,7 +309,7 @@ void HelpDialog::reflowLayout() {
assert(lineHeight);
g_gui.xmlEval()->getWidgetData("ScummHelp.HelpText", x, y, w, h);
g_gui.xmlEval()->getWidgetData("ScummHelp.HelpText", x, y, w, h, _useRTL);
// Make sure than we don't have more lines than what we can fit
// on the space that the layout reserves for text