ui fixes
This commit is contained in:
parent
244b0f42b1
commit
5cc0998b26
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"java.configuration.updateBuildConfiguration": "automatic",
|
"java.configuration.updateBuildConfiguration": "automatic",
|
||||||
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m"
|
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx4G -Xms100m"
|
||||||
}
|
}
|
||||||
File diff suppressed because one or more lines are too long
@ -327,12 +327,13 @@ public class MenuGenerators {
|
|||||||
|
|
||||||
//text entry (port)
|
//text entry (port)
|
||||||
TextInput portInput = new TextInput(100,screenTop + 275,1.0f);
|
TextInput portInput = new TextInput(100,screenTop + 275,1.0f);
|
||||||
|
portInput.setText(NetUtils.getPort() + "");
|
||||||
rVal.addChild(portInput);
|
rVal.addChild(portInput);
|
||||||
|
|
||||||
//button (connect)
|
//button (connect)
|
||||||
Button connectButton = new Button();
|
Button connectButton = new Button();
|
||||||
Label connectLabel = new Label(100,screenTop + 350,1.0f);
|
Label connectLabel = new Label(100,screenTop + 350,1.0f);
|
||||||
connectLabel.setText("Back");
|
connectLabel.setText("Connect");
|
||||||
connectButton.addChild(connectLabel);
|
connectButton.addChild(connectLabel);
|
||||||
rVal.addChild(connectButton);
|
rVal.addChild(connectButton);
|
||||||
connectButton.setOnClick(new ClickableElement.ClickEventCallback(){public boolean execute(ClickEvent event){
|
connectButton.setOnClick(new ClickableElement.ClickEventCallback(){public boolean execute(ClickEvent event){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user