GUI: RTL: Fix small issues
- Remove unused variable in tab.cpp - Remove wrong check for alignment in popups. For rtl, set align to right.
This commit is contained in:
parent
86c11597b8
commit
e3db189f0b
2 changed files with 1 additions and 8 deletions
|
@ -386,11 +386,9 @@ void TabWidget::reflowLayout() {
|
|||
void TabWidget::drawWidget() {
|
||||
Common::Array<Common::String> tabs;
|
||||
Common::Array<int> widths;
|
||||
int totalWidth = 0;
|
||||
for (int i = _firstVisibleTab; i <= _lastVisibleTab; ++i) {
|
||||
tabs.push_back(_tabs[i].title);
|
||||
widths.push_back(_tabs[i]._tabWidth);
|
||||
totalWidth += _tabs[i]._tabWidth;
|
||||
}
|
||||
|
||||
g_gui.theme()->drawDialogBackground(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue