nav-button.fxml (773B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 3 <?import de.jensd.fx.glyphs.materialicons.MaterialIconView?> 4 <?import java.lang.String?> 5 <?import javafx.scene.Cursor?> 6 7 8 <fx:root type="com.jfoenix.controls.JFXButton" alignment="CENTER" layoutX="80.0" layoutY="10.0" prefHeight="50.0" 9 prefWidth="200.0" xmlns="http://javafx.com/javafx/19" 10 xmlns:fx="http://javafx.com/fxml/1"> 11 <graphic> 12 <MaterialIconView fx:id="iconView"> 13 <styleClass> 14 <String fx:value="icon"/> 15 </styleClass> 16 </MaterialIconView> 17 </graphic> 18 <styleClass> 19 <String fx:value="nav-button"/> 20 <String fx:value="headline-small"/> 21 </styleClass> 22 <cursor> 23 <Cursor fx:constant="HAND"/> 24 </cursor> 25 </fx:root>