fix: slight improvments
This commit is contained in:
parent
91008f575b
commit
0355d98baf
|
@ -29,6 +29,7 @@ public class SettingsScreen extends BaseScreen {
|
||||||
errorLabel.setColor(Color.RED);
|
errorLabel.setColor(Color.RED);
|
||||||
|
|
||||||
VisValidatableTextField gConstField = new VisValidatableTextField();
|
VisValidatableTextField gConstField = new VisValidatableTextField();
|
||||||
|
gConstField.setText(Float.toString(GameScreen.G));
|
||||||
|
|
||||||
VisTextButton saveButton = new VisTextButton("Save");
|
VisTextButton saveButton = new VisTextButton("Save");
|
||||||
saveButton.addListener(new ActorGestureListener() {
|
saveButton.addListener(new ActorGestureListener() {
|
||||||
|
@ -62,9 +63,9 @@ public class SettingsScreen extends BaseScreen {
|
||||||
table.add(new VisLabel("G constant:"));
|
table.add(new VisLabel("G constant:"));
|
||||||
table.add(gConstField);
|
table.add(gConstField);
|
||||||
table.row();
|
table.row();
|
||||||
table.add(saveButton);
|
table.add(saveButton).colspan(2);
|
||||||
table.row();
|
table.row();
|
||||||
table.add(returnButton);
|
table.add(returnButton).colspan(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue