2016-12-16 61 views

回答

1

用途:

button.setPadding(Insets.EMPTY); 
+0

它的工作的感谢! Kheili mamnon – DingDongDang132

+0

欢迎您。 Ghorboonet :)) – Omid

0

试试这个:

button.setStyle("-fx-background-radius: 0; -fx-padding: 0; -fx-background-color: transparent;"); 

你也可以应用该样式在CSS