We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dad190f commit bd812ccCopy full SHA for bd812cc
1 file changed
HMCL/src/main/java/org/jackhuang/hmcl/ui/main/SettingsPage.java
@@ -121,8 +121,7 @@ public SettingsPage() {
121
ObjectProperty<UpdateChannel> updateChannel;
122
{
123
124
- JFXButton updateButton = new JFXButton();
125
- updateButton.setGraphic(SVG.UPDATE.createIcon(20));
+ JFXButton updateButton = FXUtils.newToggleButton4(SVG.UPDATE, 20);
126
updateButton.setOnAction(e -> onUpdate());
127
updateButton.setPadding(Insets.EMPTY);
128
FXUtils.installFastTooltip(updateButton, i18n("update.tooltip"));
0 commit comments