diff options
Diffstat (limited to 'src/jcgp/gui/console')
-rw-r--r-- | src/jcgp/gui/console/ConsolePane.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jcgp/gui/console/ConsolePane.java b/src/jcgp/gui/console/ConsolePane.java index 1e07b7d..de193a5 100644 --- a/src/jcgp/gui/console/ConsolePane.java +++ b/src/jcgp/gui/console/ConsolePane.java @@ -13,7 +13,7 @@ import javafx.scene.input.MouseButton; import javafx.scene.input.MouseEvent; import javafx.scene.layout.AnchorPane; import jcgp.backend.resources.Console; -import jcgp.gui.GUI; +import jcgp.gui.constants.Constants; /** * Console pane used by the GUI to display CGP output messages. @@ -92,13 +92,13 @@ public class ConsolePane extends AnchorPane implements Console { clearConsole)); // anchor the text area so it resizes automatically - AnchorPane.setTopAnchor(textArea, GUI.RESIZE_MARGIN); + AnchorPane.setTopAnchor(textArea, Constants.RESIZE_MARGIN); AnchorPane.setBottomAnchor(textArea, 0.0); AnchorPane.setRightAnchor(textArea, 0.0); AnchorPane.setLeftAnchor(textArea, 0.0); - setMinHeight(GUI.CONSOLE_MIN_HEIGHT); - setPrefHeight(GUI.CONSOLE_MIN_HEIGHT); + setMinHeight(Constants.CONSOLE_MIN_HEIGHT); + setPrefHeight(Constants.CONSOLE_MIN_HEIGHT); getChildren().add(textArea); } |