Archived
0

fix icons

This commit is contained in:
iMoHax
2014-11-08 20:13:41 +03:00
parent eb8a8df171
commit 251524cc3d
2 changed files with 3 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ public class RouteNode {
p = p.getNext();
if (cargo == null && p.getBest() != null){
cargo = p.getBest();
icons.getChildren().add(Glyph.create("FontAwesome|UPLOAD_ALT"));
icons.getChildren().add(Glyph.create("FontAwesome|UPLOAD"));
}
if (p.isRefill()) icons.getChildren().add(Glyph.create("FontAwesome|REFRESH"));
@@ -75,7 +75,7 @@ public class RouteNode {
if (cargo != null && cargo.isBuyer(p.get())){
v.getChildren().add(new Text(String.format(" (%+.0f) ", cargo.getProfit())));
cargo = null;
icons.getChildren().add(Glyph.create("FontAwesome|DOWNLOAD_ALT"));
icons.getChildren().add(Glyph.create("FontAwesome|DOWNLOAD"));
}
}
node.getChildren().addAll(v, icons);

View File

@@ -47,7 +47,7 @@ public class EditOfferCell extends TextFieldCell<StationUpdater.FakeOffer, Doubl
Text diff = new Text(String.format(" (%+.0f)", d));
hBox.getChildren().add(diff);
}
Glyph glyph = Glyph.create("FontAwesome|REMOVE");
Glyph glyph = Glyph.create("FontAwesome|TIMES");
glyph.addEventFilter(MouseEvent.MOUSE_CLICKED, (e) -> {
Platform.runLater(() -> {
if (isSell) {