|
@@ -10,6 +10,7 @@
|
|
|
<?import javafx.scene.layout.VBox?>
|
|
|
<?import javafx.scene.text.Font?>
|
|
|
<?import javafx.scene.text.TextFlow?>
|
|
|
+<?import javafx.scene.control.ScrollPane?>
|
|
|
|
|
|
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="0.0" prefHeight="553.0" prefWidth="616.0" stylesheets="@AddMovieWindowStyle.css" xmlns="http://javafx.com/javafx/16" xmlns:fx="http://javafx.com/fxml/1" fx:controller="com.moviesdb.GenreStatisticsController">
|
|
|
<right>
|
|
@@ -76,7 +77,7 @@
|
|
|
<AnchorPane minHeight="20.0" prefHeight="20.0" prefWidth="200.0" style="-fx-background-color: transparent;" />
|
|
|
<AnchorPane prefHeight="385.0" prefWidth="600.0" style="-fx-background-color: transparent;" VBox.vgrow="ALWAYS">
|
|
|
<children>
|
|
|
- <PieChart fx:id="genrePie" layoutX="50.0" prefHeight="250.0" prefWidth="600.0" style="-fx-max-height: 600; -fx-max-width: 600;" stylesheets="@PieChartStyle.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
+ <PieChart fx:id="genrePie" layoutX="50.0" minHeight="250.0" minWidth="600.0" prefHeight="250.0" prefWidth="600.0" style="-fx-max-height: 600; -fx-max-width: 600;" stylesheets="@PieChartStyle.css" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0" />
|
|
|
</children>
|
|
|
</AnchorPane>
|
|
|
<AnchorPane prefHeight="120.0">
|
|
@@ -84,7 +85,11 @@
|
|
|
<HBox prefHeight="100.0" prefWidth="200.0" AnchorPane.bottomAnchor="17.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
|
|
|
<children>
|
|
|
<Pane prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
|
|
|
- <TextFlow fx:id="statsTextBox" prefHeight="111.0" prefWidth="200.0" style="-fx-text-fill: #9F9F9F;" />
|
|
|
+ <ScrollPane fitToHeight="true" fitToWidth="true" layoutX="14.0" layoutY="290.0" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: transparent;" AnchorPane.bottomAnchor="39.0" AnchorPane.topAnchor="290.0">
|
|
|
+ <content>
|
|
|
+ <TextFlow fx:id="statsTextBox" prefHeight="222.0" prefWidth="277.0" style="-fx-background-color: #212121;" />
|
|
|
+ </content>
|
|
|
+ </ScrollPane>
|
|
|
<Pane prefHeight="200.0" prefWidth="200.0" HBox.hgrow="ALWAYS" />
|
|
|
</children>
|
|
|
</HBox>
|