|
@@ -1,12 +1,11 @@
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<?import io.github.palexdev.materialfx.controls.legacy.*?>
|
|
<?import io.github.palexdev.materialfx.controls.legacy.*?>
|
|
-<?import io.github.palexdev.materialfx.controls.MFXCheckbox?>
|
|
|
|
-<?import io.github.palexdev.materialfx.controls.MFXComboBox?>
|
|
|
|
|
|
+<?import io.github.palexdev.materialfx.controls.*?>
|
|
<?import javafx.geometry.*?>
|
|
<?import javafx.geometry.*?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.control.Label?>
|
|
<?import javafx.scene.layout.*?>
|
|
<?import javafx.scene.layout.*?>
|
|
-<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" stylesheets="@css/combo_boxes_demo.css" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="io.github.palexdev.materialfx.demo.controllers.ComboBoxesDemoController">
|
|
|
|
|
|
+<StackPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="450.0" prefWidth="600.0" stylesheets="@css/combo_boxes_demo.css" xmlns="http://javafx.com/javafx/15.0.1" xmlns:fx="http://javafx.com/fxml/1" fx:controller="io.github.palexdev.materialfx.demo.controllers.ComboBoxesDemoController">
|
|
<Label id="customLabel" alignment="CENTER" prefHeight="26.0" prefWidth="266.0" text="Legacy Combo Boxes" StackPane.alignment="TOP_CENTER">
|
|
<Label id="customLabel" alignment="CENTER" prefHeight="26.0" prefWidth="266.0" text="Legacy Combo Boxes" StackPane.alignment="TOP_CENTER">
|
|
<StackPane.margin>
|
|
<StackPane.margin>
|
|
<Insets top="20.0" />
|
|
<Insets top="20.0" />
|
|
@@ -54,7 +53,7 @@
|
|
</MFXLegacyComboBox>
|
|
</MFXLegacyComboBox>
|
|
<MFXCheckbox fx:id="checkbox" text="Validation!" StackPane.alignment="BOTTOM_RIGHT">
|
|
<MFXCheckbox fx:id="checkbox" text="Validation!" StackPane.alignment="BOTTOM_RIGHT">
|
|
<StackPane.margin>
|
|
<StackPane.margin>
|
|
- <Insets bottom="160.0" left="10.0" right="10.0" top="10.0" />
|
|
|
|
|
|
+ <Insets bottom="200.0" left="10.0" right="10.0" top="10.0" />
|
|
</StackPane.margin>
|
|
</StackPane.margin>
|
|
</MFXCheckbox>
|
|
</MFXCheckbox>
|
|
<Label id="customLabel" alignment="CENTER" prefHeight="26.0" prefWidth="266.0" text="New Combo Boxes">
|
|
<Label id="customLabel" alignment="CENTER" prefHeight="26.0" prefWidth="266.0" text="New Combo Boxes">
|
|
@@ -77,4 +76,19 @@
|
|
<Insets left="250.0" top="185.0" />
|
|
<Insets left="250.0" top="185.0" />
|
|
</StackPane.margin>
|
|
</StackPane.margin>
|
|
</MFXComboBox>
|
|
</MFXComboBox>
|
|
|
|
+ <Label id="customLabel" alignment="CENTER" prefHeight="26.0" prefWidth="266.0" text="Filter Combo Box" StackPane.alignment="BOTTOM_CENTER">
|
|
|
|
+ <StackPane.margin>
|
|
|
|
+ <Insets bottom="70.0" />
|
|
|
|
+ </StackPane.margin>
|
|
|
|
+ </Label>
|
|
|
|
+ <MFXFilterComboBox fx:id="filters1" StackPane.alignment="BOTTOM_CENTER">
|
|
|
|
+ <StackPane.margin>
|
|
|
|
+ <Insets bottom="25.0" right="150.0" />
|
|
|
|
+ </StackPane.margin>
|
|
|
|
+ </MFXFilterComboBox>
|
|
|
|
+ <MFXFilterComboBox fx:id="filters2" comboStyle="STYLE2" StackPane.alignment="BOTTOM_CENTER">
|
|
|
|
+ <StackPane.margin>
|
|
|
|
+ <Insets bottom="25.0" left="150.0" />
|
|
|
|
+ </StackPane.margin>
|
|
|
|
+ </MFXFilterComboBox>
|
|
</StackPane>
|
|
</StackPane>
|