Skip to content

Instantly share code, notes, and snippets.

@joshuamzm
Created January 6, 2015 05:05
Show Gist options
  • Select an option

  • Save joshuamzm/5a1ef9dd0fb11519afe9 to your computer and use it in GitHub Desktop.

Select an option

Save joshuamzm/5a1ef9dd0fb11519afe9 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.image.*?>
<?import javafx.scene.control.*?>
<?import java.lang.*?>
<?import javafx.scene.layout.*?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="300.0" minWidth="500.0" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.40-ea" xmlns:fx="http://javafx.com/fxml/1">
<top>
<VBox prefWidth="100.0" BorderPane.alignment="CENTER">
<children>
<MenuBar>
<menus>
<Menu mnemonicParsing="false" text="File">
<items>
<MenuItem mnemonicParsing="false" text="Quit" />
</items>
</Menu>
<Menu mnemonicParsing="false" text="Help">
<items>
<MenuItem mnemonicParsing="false" text="About" />
</items>
</Menu>
</menus>
</MenuBar>
<ToolBar prefHeight="40.0" prefWidth="200.0">
<items>
<Button mnemonicParsing="false" onAction="#send_action" text="Button" />
</items>
</ToolBar>
</children>
</VBox>
</top>
<center>
<HBox alignment="CENTER" prefHeight="100.0" prefWidth="200.0" BorderPane.alignment="CENTER">
<children>
<ImageView fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" />
<Separator orientation="VERTICAL" prefHeight="200.0" />
<ImageView fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true" />
</children>
</HBox>
</center>
<bottom>
<TableView prefHeight="140.0" BorderPane.alignment="CENTER">
<columns>
<TableColumn prefWidth="75.0" text="Image" />
<TableColumn prefWidth="75.0" text="Tag" />
</columns>
<columnResizePolicy>
<TableView fx:constant="CONSTRAINED_RESIZE_POLICY" />
</columnResizePolicy>
</TableView>
</bottom>
</BorderPane>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment