【发布时间】:2018-03-05 17:21:17
【问题描述】:
我还没有为这些按钮附加任何操作,所以当我点击这个按钮时,一切都开始看起来应该
三个按钮看起来都一样:
<JFXButton layoutX="14.0" layoutY="122.0" prefHeight="48.0" prefWidth="101.0" style="-fx-background-color: #f72241; -fx-background-radius: 100;" text="M/M(a,b)/1" textFill="WHITE">
<font>
<Font size="15.0" />
</font>
</JFXButton>
<JFXButton layoutX="150.0" layoutY="122.0" prefHeight="48.0" prefWidth="101.0" style="-fx-background-color: #f72241; -fx-background-radius: 100;" text="M/M(a,b)/c" textFill="WHITE">
<font>
<Font size="15.0" />
</font>
</JFXButton>
<JFXButton layoutX="285.0" layoutY="122.0" prefHeight="48.0" prefWidth="101.0" style="-fx-background-color: #f72241; -fx-background-radius: 100;" text="M/GI(1,s)/1" textFill="WHITE">
<font>
<Font size="15.0" />
</font>
</JFXButton>
【问题讨论】:
标签: java user-interface javafx desktop scenebuilder