Commit 23746ff1 authored by Anders H. Rebner's avatar Anders H. Rebner
Browse files

Fixed textfield size for larger Android devices

parent 31814e00
......@@ -194,13 +194,13 @@ public class LobbyView extends AbstractView {
lobbyCreateTextField = new TextField("", skin);
lobbyCreateTextField.setMessageText("Enter lobby name.");
lobbyCreateTextField.setSize(col_width*2.5f,row_height*1f);
lobbyCreateTextField.setSize(col_width*1.5f,row_height*1f);
lobbyCreateTextField.setPosition(lobbyListRefreshButton.getX(), lobbyListRefreshButton.getY()+row_height*1.25f);
lobbyCreateSizeSelectBox =new SelectBox<>(skin);
lobbyCreateSizeSelectBox.setItems(2, 4, 6);
lobbyCreateSizeSelectBox.setSize(lobbyListBackButton.getWidth(), lobbyListBackButton.getHeight());
lobbyCreateSizeSelectBox.setPosition(lobbyListBackButton.getX(), lobbyCreateTextField.getY()+lobbyCreateTextField.getHeight()/2-lobbyCreateSizeSelectBox.getHeight()/2);
lobbyCreateSizeSelectBox.setSize(lobbyListBackButton.getWidth() / 2, lobbyListBackButton.getHeight());
lobbyCreateSizeSelectBox.setPosition(lobbyListBackButton.getX() + lobbyCreateSizeSelectBox.getWidth() / 2, lobbyCreateTextField.getY()+lobbyCreateTextField.getHeight()/2-lobbyCreateSizeSelectBox.getHeight()/2);
backgroundImage.setZIndex(1);
backgroundImage.setOrigin(0,0);
......
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