Last active
April 14, 2017 12:15
-
-
Save monolith52/17a174025c9256a320c199a80cf57770 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 java.lang.String?> | |
<?import javafx.collections.FXCollections?> | |
<?import javafx.geometry.Insets?> | |
<?import javafx.scene.control.Button?> | |
<?import javafx.scene.control.CheckBox?> | |
<?import javafx.scene.control.ColorPicker?> | |
<?import javafx.scene.control.ComboBox?> | |
<?import javafx.scene.control.DatePicker?> | |
<?import javafx.scene.control.Label?> | |
<?import javafx.scene.control.ListView?> | |
<?import javafx.scene.control.RadioButton?> | |
<?import javafx.scene.control.ScrollPane?> | |
<?import javafx.scene.control.TextArea?> | |
<?import javafx.scene.control.TextField?> | |
<?import javafx.scene.layout.BorderPane?> | |
<?import javafx.scene.layout.HBox?> | |
<?import javafx.scene.layout.Region?> | |
<?import javafx.scene.layout.VBox?> | |
<BorderPane prefHeight="400.0" prefWidth="400.0" xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"> | |
<center> | |
<ScrollPane fitToWidth="true" BorderPane.alignment="CENTER"> | |
<content> | |
<VBox maxWidth="600.0" spacing="10.0"> | |
<children> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0" style="-fx-border-color: gray; -fx-border-width: 0 0 1 0;"> | |
<children> | |
<Label text="Category" /> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<CheckBox mnemonicParsing="false" text="CheckBoxItem" /> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="ComboBoxItem" /> | |
<Region HBox.hgrow="ALWAYS" /> | |
<ComboBox promptText="Item1"> | |
<items> | |
<FXCollections fx:factory="observableArrayList"> | |
<String fx:value="Item1" /> | |
<String fx:value="Item2" /> | |
<String fx:value="Item3" /> | |
</FXCollections> | |
</items> | |
</ComboBox> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="ColorPickerItem" /> | |
<Region HBox.hgrow="ALWAYS" /> | |
<ColorPicker /> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="DatePickerItem" /> | |
<Region HBox.hgrow="ALWAYS" /> | |
<DatePicker /> | |
</children> | |
</HBox> | |
<HBox spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="ListViewItem"> | |
<HBox.margin> | |
<Insets top="4.0" /> | |
</HBox.margin></Label> | |
<Region HBox.hgrow="ALWAYS" /> | |
<ListView prefHeight="100.0" prefWidth="160.0"> | |
<items> | |
<FXCollections fx:factory="observableArrayList"> | |
<String fx:value="Item1" /> | |
<String fx:value="Item2" /> | |
<String fx:value="Item3" /> | |
</FXCollections> | |
</items> | |
</ListView> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="TextFieldItem" /> | |
<TextField HBox.hgrow="ALWAYS" /> | |
<Button mnemonicParsing="false" text="Select..." /> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="RadioButtonItem" /> | |
<Region HBox.hgrow="ALWAYS" /> | |
<RadioButton mnemonicParsing="false" selected="true" text="Item1" /> | |
<RadioButton mnemonicParsing="false" text="Item2" /> | |
<RadioButton mnemonicParsing="false" text="Item3" /> | |
</children> | |
</HBox> | |
<HBox alignment="BASELINE_LEFT" spacing="5.0"> | |
<children> | |
<Label alignment="BASELINE_LEFT" text="TextAreaItem" /> | |
<TextArea prefHeight="50.0" prefWidth="200.0" HBox.hgrow="ALWAYS" /> | |
</children> | |
</HBox> | |
</children> | |
<padding> | |
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> | |
</padding> | |
</VBox> | |
</content> | |
</ScrollPane> | |
</center> | |
<bottom> | |
<HBox alignment="BASELINE_RIGHT" spacing="10.0" BorderPane.alignment="CENTER"> | |
<children> | |
<Button mnemonicParsing="false" text="Cancel" /> | |
<Button mnemonicParsing="false" text="OK" /> | |
</children> | |
<padding> | |
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> | |
</padding> | |
</HBox> | |
</bottom> | |
</BorderPane> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment