changed to borderpane
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.Label?>
+<?import javafx.scene.control.Pagination?>
<?import javafx.scene.control.TextField?>
-<?import javafx.scene.layout.HBox?>
-<?import javafx.scene.layout.GridPane?>
-<?import javafx.scene.layout.VBox?>
+<?import javafx.scene.layout.*?>
<?import javafx.scene.text.Text?>
-
-<VBox fx:id="displayPanel" fx:controller="com.esri.samples.symbology.symbol_dictionary.SymbolDictionaryController"
+<BorderPane fx:controller="com.esri.samples.symbology.symbol_dictionary.SymbolDictionaryController"
xmlns:fx="http://javafx.com/fxml" stylesheets="/css/style.css">
+ <padding>
+ <Insets bottom="10"/>
+ </padding>
<!-- Top Pane for Search Result -->
+ <top>
<GridPane hgap="10" vgap="10" prefHeight="200">
<padding><Insets top="25" bottom="25" left="25"/></padding>
<Label text="Name: " GridPane.columnIndex="0" GridPane.rowIndex="0"/>
<Label text="Result(s) Found: " GridPane.columnIndex="0" GridPane.rowIndex="6"/>
<Text fx:id="searchResultsFound" GridPane.columnIndex="1" GridPane.rowIndex="6"/>
</GridPane>
-</VBox>
+ </top>
+ <center>
+ <Pagination fx:id="resultPages" pageCount="1"/>
+ </center>
+</BorderPane>
