Commit 78994b08 authored by Vitaliy Vashchenko's avatar Vitaliy Vashchenko

#773 Fixed locale menu missing in loader screen.

parent 56018e7f
......@@ -207,15 +207,16 @@ public abstract class AbstractMenu extends Stack implements Disposable {
localeTable.bottom();
localeTable.pad(MAINMENU_PADDING);
completeMenuTable.add(layoutContainer).fillY();
localeMenuContainer.bottom();
localeMenuContainer.setActor(localeTable);
completeMenuTable.top();
completeMenuTable.setFillParent(true);
completeMenuTable.bottom();
completeMenuTable.add(layoutContainer).expandY().fillY();
completeMenuTable.row();
completeMenuTable.add(localeMenuContainer).fill().bottom();
completeMenuContainer.top();
completeMenuContainer.bottom();
completeMenuContainer.setActor(completeMenuTable);
backgroundStack = new Stack();
......@@ -324,6 +325,7 @@ public abstract class AbstractMenu extends Stack implements Disposable {
private Table getLocaleMenu() {
Table footerTable = new Table();
footerTable.setDebug(TablexiaSettings.getInstance().isShowBoundingBoxes(), TablexiaSettings.getInstance().isShowBoundingBoxes());
//Locale select box
float footerContentWidth = getBackground().getDrawable().getMinWidth() - (2 * MAINMENU_PADDING) - APP_NAME_TEXT_PADDING_LEFT - SOUND_MUTE_BUTTON_PADDING_LEFT;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment