Skip to content

Commit

Permalink
change some label
Browse files Browse the repository at this point in the history
- change 'outcome' to 'cost'
- change 'bath' to 'dollats'
  • Loading branch information
earthpyy committed Dec 8, 2017
1 parent aec4fd8 commit 8e27007
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/lnwza/src/ui/controller/HistoryViewController.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private void updateGraph(){
seriesIncome.setName("Income");

seriesPayment = new XYChart.Series();
seriesPayment.setName("Payment");
seriesPayment.setName("Cost");

for(int i = 0; i < maxDay; i++){
seriesIncome.getData().add(new XYChart.Data(Integer.toString(i + 1), dataCache[i][0]));
Expand Down
10 changes: 5 additions & 5 deletions client/lnwza/src/ui/fxml/HistoryView.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</font>
</Label>
<TextField fx:id="tf_income" alignment="CENTER" editable="false" prefHeight="25.0" prefWidth="73.0" />
<Label text=" Bath">
<Label text=" Dollars">
<font>
<Font size="16.0" />
</font>
Expand All @@ -51,13 +51,13 @@
</HBox>
<HBox>
<children>
<Label text="Outcome : ">
<Label text="Cost : ">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="tf_outcome" alignment="CENTER" editable="false" prefHeight="25.0" prefWidth="73.0" />
<Label text=" Bath">
<Label text=" Dollars">
<font>
<Font size="16.0" />
</font>
Expand All @@ -66,13 +66,13 @@
</HBox>
<HBox>
<children>
<Label text="Profit/Loss : ">
<Label text="Profit/Loss : ">
<font>
<Font size="16.0" />
</font>
</Label>
<TextField fx:id="tf_profit" alignment="CENTER" editable="false" prefHeight="25.0" prefWidth="73.0" />
<Label text=" Bath">
<Label text=" Dollars">
<font>
<Font size="16.0" />
</font>
Expand Down
2 changes: 1 addition & 1 deletion client/lnwza/src/ui/fxml/TransactionView.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<TableColumn fx:id="tb_time" prefWidth="94.0" style="-fx-alignment: center;" text="Time" />
<TableColumn fx:id="tb_title" prefWidth="371.0" style="-fx-alignment: center-left;" text="Title" />
<TableColumn fx:id="tb_income" minWidth="0.0" prefWidth="121.0" style="-fx-alignment: CENTER-RIGHT;" styleClass="income" text="Income" />
<TableColumn fx:id="tb_outcome" prefWidth="120.0" style="-fx-alignment: center-right;" styleClass="outcome" text="Outcome" />
<TableColumn fx:id="tb_outcome" prefWidth="120.0" style="-fx-alignment: center-right;" styleClass="outcome" text="Cost" />
<TableColumn fx:id="tb_total" minWidth="0.0" prefWidth="163.0" style="-fx-alignment: center-right;" styleClass="total" text="Total" />
</columns>
</TableView>
Expand Down

0 comments on commit 8e27007

Please sign in to comment.