Skip to content

Commit c274aeb

Browse files
author
dante
committed
Fixed violations
1 parent d494704 commit c274aeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/stt/gui/jfx/ImageButton.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
import javafx.scene.input.MouseEvent;
88

99
public class ImageButton extends Button {
10-
private final String STYLE_NORMAL = "-fx-background-color: transparent; -fx-padding: 5, 5, 5, 5;";
11-
private final String STYLE_PRESSED = "-fx-background-color: transparent; -fx-padding: 6 4 4 6;";
10+
private static final String STYLE_NORMAL = "-fx-background-color: transparent; -fx-padding: 5, 5, 5, 5;";
11+
private static final String STYLE_PRESSED = "-fx-background-color: transparent; -fx-padding: 6 4 4 6;";
1212

1313
public ImageButton(Image image) {
1414
setGraphic(new ImageView(image));

0 commit comments

Comments
 (0)