Skip to content
Snippets Groups Projects
Commit f642771d authored by Robert Goldmann's avatar Robert Goldmann
Browse files

Fixed #124 - reset full legend on export stage close

parent f82b45f8
No related branches found
No related tags found
1 merge request!142merge v1_3_0 into master
......@@ -56,6 +56,13 @@ public class ExportChartController
labelSavePath.setText(savePath.getAbsolutePath());
}
stage.setOnCloseRequest((event)->{
controller.chartCategoriesShow(false);
});
textFieldWidth.setText(String.valueOf((int)chart.getWidth()));
textFieldHeight.setText(String.valueOf((int)chart.getHeight()));
anchorPaneMain.setStyle("-fx-background-color: #F4F4F4;");
FontIcon iconShow = new FontIcon(FontIconType.FOLDER_OPEN);
......@@ -238,5 +245,6 @@ public class ExportChartController
public void cancel()
{
stage.close();
controller.chartCategoriesShow(false);
}
}
\ No newline at end of file
......@@ -9,7 +9,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<AnchorPane fx:id="anchorPaneMain" prefHeight="200.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.ExportChartController">
<AnchorPane fx:id="anchorPaneMain" prefHeight="200.0" prefWidth="450.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.deadlocker8.budgetmaster.ui.ExportChartController">
<children>
<VBox AnchorPane.bottomAnchor="14.0" AnchorPane.leftAnchor="14.0" AnchorPane.rightAnchor="14.0" AnchorPane.topAnchor="14.0">
<children>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment