Commit 0eb48c29 authored by Vincent Bourgmayer's avatar Vincent Bourgmayer 🎼
Browse files

fix loadStepController initialize by calling super.initialize()

parent 62aabb75
Pipeline #141664 passed with stages
in 14 minutes and 46 seconds
......@@ -31,7 +31,6 @@ import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ProgressBar;
import javafx.scene.input.MouseEvent;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.util.Duration;
......@@ -43,14 +42,15 @@ public class LoadStepController extends StepController<LoadStep>{
@FXML private ProgressBar taskProgressBar;
@FXML private Label titleLbl;
@FXML private HBox instructionsContainer;
@FXML private VBox instructionsContainer;
private Timeline pbTimeline; //progressBar Timeline
private CommandRunnerService service;
@Override
public void initialize(URL url, ResourceBundle rb) {
super.initialize(url, rb);
if(step.getTextContentKeys().isEmpty()){
instructionsContainer.setVisible(false);
}
......
......@@ -31,7 +31,7 @@
AnchorPane.leftAnchor="5.0" AnchorPane.rightAnchor="5.0"
AnchorPane.topAnchor="130.0" AnchorPane.bottomAnchor="80.0"
xmlns:fx="http://javafx.com/fxml/1"
fx:controller="ecorp.easy.installer.controllers.stepControllers.CustomStepController">
fx:controller="ecorp.easy.installer.controllers.stepControllers.LoadStepController">
<children>
<Label fx:id="titleLbl" wrapText="true" styleClass="subtitle" />
<ProgressBar fx:id="taskProgressBar" progress="0.0" styleClass="progressBar" minWidth="550"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment