Skip to content
Snippets Groups Projects
Commit a62a941f authored by Philipp Stenkamp's avatar Philipp Stenkamp
Browse files

minor changes, fixed "ä" and "ü" again.

parent d468381b
No related branches found
No related tags found
No related merge requests found
No preview for this file type
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Tab?>
<?import javafx.scene.control.TabPane?>
<?import javafx.scene.layout.AnchorPane?>
<AnchorPane prefHeight="600.0" prefWidth="340.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1">
<children>
<TabPane layoutX="10.0" layoutY="10.0" prefHeight="200.0" prefWidth="200.0" tabClosingPolicy="UNAVAILABLE" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
<tabs>
<Tab text="Loks">
<content>
<fx:include source="Engine.fxml" />
</content>
</Tab>
<Tab text="Weichen">
<content>
<fx:include source="SwitchList.fxml" />
</content>
</Tab>
<Tab text="Drehscheibe">
<content>
<fx:include source="Turntable.fxml" />
</content>
</Tab>
<Tab text="Verbindung">
<content>
<fx:include source="Settings.fxml" />
</content>
</Tab>
</tabs>
</TabPane>
</children>
</AnchorPane>
...@@ -81,15 +81,15 @@ public class EngineController { ...@@ -81,15 +81,15 @@ public class EngineController {
engineFwdButton.setSelected(eng.getDirection().get()); engineFwdButton.setSelected(eng.getDirection().get());
engineRevButton.setSelected(!eng.getDirection().get()); engineRevButton.setSelected(!eng.getDirection().get());
if (eng.getDirection().get()) if (eng.getDirection().get())
status.append("vorwrts"); status.append("vorwrts");
else else
status.append("rckwrts"); status.append("rckwrts");
mainApp.setStatus(status.toString()); mainApp.setStatus(status.toString());
} }
public void setSelectedEngine(Engine eng){ public void setSelectedEngine(Engine eng){
this.eng = eng; this.eng = eng;
mainApp.setStatus(eng.toString() + " ausgewhlt"); mainApp.setStatus(eng.toString() + " ausgewhlt");
updateEngineStatus(); updateEngineStatus();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment