Skip to content

Commit

Permalink
Fixed violations
Browse files Browse the repository at this point in the history
  • Loading branch information
dante committed Jun 21, 2014
1 parent d494704 commit c274aeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/stt/gui/jfx/ImageButton.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import javafx.scene.input.MouseEvent;

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

public ImageButton(Image image) {
setGraphic(new ImageView(image));
Expand Down

0 comments on commit c274aeb

Please sign in to comment.