made choicebox matreial styled

* made choicebox matreial styled
* little code clean up
This commit is contained in:
Jannik
2018-02-03 12:04:14 +01:00
parent 84b5eaedcd
commit 88e31468d4
4 changed files with 37 additions and 4 deletions

View File

@ -1298,7 +1298,6 @@ public class MainWindowController {
public void reloadRoms() {
JFXSpinner spinner = new JFXSpinner();
spinner.setPrefSize(30, 30);
spinner.setStyle(" -fx-background-color: #f4f4f4;");
AnchorPane.setTopAnchor(spinner, (main.getPane().getPrefHeight()-spinner.getPrefHeight())/2);
AnchorPane.setLeftAnchor(spinner, (main.getPane().getPrefWidth()-spinner.getPrefWidth())/2);