Skip to content

Commit

Permalink
Merge pull request #161 from yyutong/branch-update-ui
Browse files Browse the repository at this point in the history
update ui
  • Loading branch information
yyutong authored Oct 29, 2020
2 parents b650d59 + 096e382 commit c1798d5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions src/main/java/seedu/address/ui/PieChartWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ public void setStats() {
PIECHART.setTitle("Statistics of Expense Book");
PIECHART.setClockwise(false);
PIECHART.setLabelsVisible(true);

}

}
Expand Down
Binary file added src/main/resources/images/statistics.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions src/main/resources/view/DarkTheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@
}

.list-cell:filled:even {
-fx-background-color: #3c3e3f;
-fx-background-color: #1A5276;
}

.list-cell:filled:odd {
-fx-background-color: #515658;
-fx-background-color: derive(#1A5276, 20%);
}

.list-cell:filled:selected {
Expand Down Expand Up @@ -138,13 +138,13 @@
}

.pane-with-border {
-fx-background-color: derive(#FFC0CB, 20%);
-fx-border-color: derive(#FFC0CB, 10%);
-fx-background-color: derive(#1A5276, 20%);
-fx-border-color: derive(#1A5276, 10%);
-fx-border-top-width: 1px;
}

.status-bar {
-fx-background-color: derive(#1d1d1d, 30%);
-fx-background-color: derive(#1A5276, 20%);
}

.result-display {
Expand Down Expand Up @@ -186,15 +186,15 @@
}

.context-menu {
-fx-background-color: derive(#1d1d1d, 50%);
-fx-background-color: derive(#1A5276, 50%);
}

.context-menu .label {
-fx-text-fill: white;
}

.menu-bar {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#1A5276, 20%);
}

.menu-bar .label {
Expand Down Expand Up @@ -283,11 +283,11 @@
}

.scroll-bar {
-fx-background-color: derive(#1d1d1d, 20%);
-fx-background-color: derive(#1A5276, 20%);
}

.scroll-bar .thumb {
-fx-background-color: derive(#1d1d1d, 50%);
-fx-background-color: derive(#1A5276, 50%);
-fx-background-insets: 3;
}

Expand Down Expand Up @@ -319,9 +319,9 @@
}

#commandTextField {
-fx-background-color: transparent #383838 transparent #383838;
-fx-background-color: #1A5276;
-fx-background-insets: 0;
-fx-border-color: #383838 #383838 #ffffff #383838;
-fx-border-color: #1A5276;
-fx-border-insets: 0;
-fx-border-width: 1;
-fx-font-family: "Segoe UI Light";
Expand All @@ -334,7 +334,7 @@
}

#resultDisplay .content {
-fx-background-color: transparent, #383838, transparent, #383838;
-fx-background-color: #1A5276;
-fx-background-radius: 0;
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/view/PieChartWindow.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<?import javafx.scene.layout.HBox?>
<?import javafx.stage.Stage?>

<fx:root resizable="false" title="Help" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1">
<fx:root resizable="false" title="Statistics" type="javafx.stage.Stage" xmlns="http://javafx.com/javafx/11" xmlns:fx="http://javafx.com/fxml/1">
<icons>
<Image url="@/images/help_icon.png" />
<Image url="@/images/statistics.png" />
</icons>
<scene>
<Scene>
Expand Down

0 comments on commit c1798d5

Please sign in to comment.