1
如何創建一個自定義的圓形按鈕在FXML,我試過這個代碼
創建自定義按鈕
<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>
** - fx-background-radius:50%** works @Reza –