Created
January 16, 2019 14:52
-
-
Save SiddheshRane/74c59832fb2b6287620120a648b5a176 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?import javafx.geometry.Insets?> | |
<?import javafx.scene.control.Button?> | |
<?import javafx.scene.control.ScrollPane?> | |
<?import javafx.scene.layout.AnchorPane?> | |
<?import javafx.scene.layout.ColumnConstraints?> | |
<?import javafx.scene.layout.GridPane?> | |
<?import javafx.scene.layout.RowConstraints?> | |
<?import javafx.scene.layout.VBox?> | |
<?import javafx.scene.shape.Circle?> | |
<?import javafx.scene.text.Font?> | |
<?import javafx.scene.text.Text?> | |
<GridPane xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/10.0.1"> | |
<columnConstraints> | |
<ColumnConstraints hgrow="SOMETIMES" percentWidth="15.0" /> | |
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" percentWidth="85.0" prefWidth="100.0" /> | |
</columnConstraints> | |
<rowConstraints> | |
<RowConstraints minHeight="100.0" vgrow="SOMETIMES" /> | |
</rowConstraints> | |
<children> | |
<VBox spacing="10.0"> | |
<children> | |
<Button maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="The longer one" /> | |
<Button layoutX="10.0" layoutY="10.0" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button" /> | |
<Button layoutX="10.0" layoutY="36.0" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button" /> | |
<Button layoutX="10.0" layoutY="62.0" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button" /> | |
<Button layoutX="10.0" layoutY="88.0" maxWidth="1.7976931348623157E308" mnemonicParsing="false" text="Button" /> | |
</children> | |
<GridPane.margin> | |
<Insets /> | |
</GridPane.margin> | |
<padding> | |
<Insets bottom="20.0" left="20.0" right="20.0" top="20.0" /> | |
</padding> | |
</VBox> | |
<ScrollPane fitToWidth="true" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1"> | |
<content> | |
<AnchorPane> | |
<children> | |
<Circle fill="DODGERBLUE" layoutX="477.0" layoutY="186.0" radius="100.0" stroke="BLACK" strokeType="INSIDE" /> | |
<Text layoutX="377.0" layoutY="67.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Scroll me"> | |
<font> | |
<Font size="35.0" /> | |
</font> | |
</Text> | |
</children> | |
</AnchorPane> | |
</content> | |
</ScrollPane> | |
</children> | |
</GridPane> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment