1

How to create a custom round button in fxml,I've tried this Code

   <Button fx:id="button" layoutX="273.0" 
          layoutY="103.0" mnemonicParsing="false" 
          onAction="#next" 
          style="-fx-base:#b6e7c9;
          -fx-font:12 papyrus;
          -fx-border-radius:15px 50px 30px 40px ;
          -fx-border:2px solid;" 
          textOverrun="CLIP">
  </Button>
guru_001
  • 535
  • 6
  • 12

1 Answers1

2

Maybe you should take a look of this
4 Using FXML to Create a User Interface

And this one maybe could help you :)
JavaFX - create custom button with image

Community
  • 1
  • 1
Reza Maulana
  • 148
  • 1
  • 1
  • 12