Skip to content

Commit

Permalink
IM GOING MAD WITH POWER
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharqosity committed Mar 13, 2017
1 parent b553f96 commit 25c6718
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main/java/WHS_planner/Calendar/Task.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class Task {
private final static String ICON_UNDO = "\uf0e2";


private final static String ICON_SQUARE = "\uf096";
private final static String ICON_CHECK = "\uf046";

String Class, Title, Description;
private Boolean doesExist = true;
private Boolean isEditing = false;
Expand Down Expand Up @@ -175,7 +178,8 @@ Boolean doesExist() {

public void setButtonToDelete(JFXButton button){
// button.setText("\uf00d");
button.setText(ICON_DELETE);
// button.setText(ICON_DELETE);
button.setText(ICON_SQUARE);
// button.setAlignment(Pos.BASELINE_CENTER);

button.setPrefWidth(20);
Expand All @@ -188,7 +192,8 @@ public void setButtonToDelete(JFXButton button){

public void setButtonToUndo(JFXButton button){
// button.setText("Undo");
button.setText(ICON_UNDO);
// button.setText(ICON_UNDO);
button.setText(ICON_CHECK);
// button.setPrefWidth(50);
// button.setMinWidth(50);
button.setPrefWidth(20);
Expand Down

0 comments on commit 25c6718

Please sign in to comment.