Skip to content

Commit

Permalink
JMetro: Update ScrollPane fxml sample
Browse files Browse the repository at this point in the history
  • Loading branch information
p-dukke committed Aug 5, 2018
1 parent c3fb01c commit f01ce3e
Showing 1 changed file with 9 additions and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>
<?scenebuilder-stylesheet JMetroLightTheme.css?>
<?scenebuilder-stylesheet JMetroDarkTheme.css?>

Expand Down Expand Up @@ -36,21 +33,13 @@
~ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->

<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0000999999975" prefWidth="600.0000999999975" styleClass="background" xmlns:fx="http://javafx.com/fxml">
<children>
<ScrollPane layoutX="178.0" layoutY="121.0" prefHeight="200.0" prefWidth="200.0">
<content>
<AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="264.0" prefWidth="414.0">
<children>
<ImageView fitHeight="263.0" fitWidth="526.0" layoutX="0.0" layoutY="-2.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@images.jpg" />
</image>
</ImageView>
</children>
</AnchorPane>
</content>
</ScrollPane>
<Label layoutX="27.0" layoutY="28.0" styleClass="header" text="Scroll Pane" />
</children>
<AnchorPane id="AnchorPane" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400" prefWidth="370" styleClass="background" >
<ScrollPane layoutX="78.0" layoutY="121.0" prefHeight="200.0" prefWidth="200.0">
<AnchorPane id="Content" minHeight="0.0" minWidth="0.0" prefHeight="264.0" prefWidth="414.0">
<ImageView fitHeight="263.0" fitWidth="526.0" layoutX="0.0" layoutY="-2.0" pickOnBounds="true" preserveRatio="true">
<Image url="@images.jpg" />
</ImageView>
</AnchorPane>
</ScrollPane>
<Label layoutX="27.0" layoutY="28.0" styleClass="header" text="Scroll Pane" />
</AnchorPane>

0 comments on commit f01ce3e

Please sign in to comment.