GUI: RTL: Overload and simplify getWidgetData for getting rtl flag
This commit is contained in:
parent
12a4af77bd
commit
dde4200d35
6 changed files with 18 additions and 11 deletions
|
@ -233,7 +233,7 @@ void ThemeLayoutMain::reflowLayout(Widget *widgetChain) {
|
|||
_w = _defaultW > 0 ? MIN(_defaultW, g_system->getOverlayWidth()) : -1;
|
||||
_h = _defaultH > 0 ? MIN(_defaultH, g_system->getOverlayHeight()) : -1;
|
||||
} else {
|
||||
if (!g_gui.xmlEval()->getWidgetData(_overlays, _x, _y, _w, _h, _useRTL)) {
|
||||
if (!g_gui.xmlEval()->getWidgetData(_overlays, _x, _y, _w, _h)) {
|
||||
warning("Unable to retrieve overlayed dialog position %s", _overlays.c_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue