Skip to content
Snippets Groups Projects
Commit 59db1ae1 authored by Tobias Ullerich's avatar Tobias Ullerich
Browse files

#174 - Improve ui

parent f3b51501
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ public class GlobalSettingsViewController extends NVC implements IGlobalSettings
stage.getIcons().add(PlayPadPlugin.getInstance().getIcon());
stage.setMinWidth(715);
stage.setMinHeight(700);
stage.setMinHeight(800);
stage.setTitle(Localization.getString(Strings.UI_WINDOW_GLOBAL_SETTINGS_TITLE));
PlayPadPlugin.styleable().applyStyle(stage);
......
......@@ -52,6 +52,10 @@ class WebApiSettingsViewController(val webApiSettings: WebApiSettings) extends G
clearTextFields()
}
})
remoteNameTextField.disableProperty().bind(remoteListView.getSelectionModel.selectedItemProperty().isNull)
remoteAddressTextField.disableProperty().bind(remoteListView.getSelectionModel.selectedItemProperty().isNull)
remotePortTextField.disableProperty().bind(remoteListView.getSelectionModel.selectedItemProperty().isNull)
}
private def saveSettingsToRemoteList(remote: WebApiRemoteSettings): Unit = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment