parent
e5af026223
commit
84df7a7abb
2 changed files with 5 additions and 5 deletions
|
@ -29,18 +29,18 @@ public class MainWindowController {
|
|||
@FXML
|
||||
private Tab patientTab;
|
||||
@FXML
|
||||
private AnchorPane treatmentPage;
|
||||
private AnchorPane activeTreatmentPage;
|
||||
@FXML
|
||||
private Tab treatmentTab;
|
||||
@FXML
|
||||
private AnchorPane activeTreatmentPage;
|
||||
@FXML
|
||||
private Tab activeTreatmentTab;
|
||||
@FXML
|
||||
private AnchorPane lockedTreatmentPage;
|
||||
@FXML
|
||||
private Tab lockedTreatmentTab;
|
||||
@FXML
|
||||
private TabPane treatmentPane;
|
||||
@FXML
|
||||
private Tab nurseTab;
|
||||
@FXML
|
||||
private TabPane nurseTabPane;
|
||||
|
@ -103,7 +103,7 @@ public class MainWindowController {
|
|||
BorderPane treatmentsPane = FXMLLoader.load(
|
||||
Objects.requireNonNull(Main.class.getResource("/de/hitec/nhplus/treatment/AllTreatmentView.fxml"))
|
||||
);
|
||||
treatmentPage.getChildren().setAll(treatmentsPane);
|
||||
activeTreatmentPage.getChildren().setAll(treatmentsPane);
|
||||
AnchorPane.setTopAnchor(treatmentsPane, 0d);
|
||||
AnchorPane.setBottomAnchor(treatmentsPane, 0d);
|
||||
AnchorPane.setLeftAnchor(treatmentsPane, 0d);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<Tab fx:id="treatmentTab" text="Behandlungen">
|
||||
<TabPane fx:id="treatmentPane" tabClosingPolicy="UNAVAILABLE">
|
||||
<Tab fx:id="activeTreatmentTab" text="Behandlungen">
|
||||
<AnchorPane fx:id="treatmentPage"/>
|
||||
<AnchorPane fx:id="activeTreatmentPage"/>
|
||||
</Tab>
|
||||
<Tab fx:id="lockedTreatmentTab" text="Gesperrte Behandlungen">
|
||||
<AnchorPane fx:id="lockedTreatmentPage" />
|
||||
|
|
Loading…
Reference in a new issue