Fixed loading of images, Dictionary

This commit is contained in:
osp1 2020-04-30 10:30:52 +01:00
parent 09dc720b37
commit 87a1be429e

View file

@ -134,6 +134,9 @@ public class DictionaryController extends SharedCodeController {
currentPageIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/white_icons/50px/read-50.png"))); currentPageIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/white_icons/50px/read-50.png")));
currentPageText.setText("Dictionary"); currentPageText.setText("Dictionary");
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-50.png"));
langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-50.png"));
dictionaryIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/black_icons/50px/read-50.png"))); dictionaryIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/black_icons/50px/read-50.png")));
dictionaryText.setFill(Color.BLACK); dictionaryText.setFill(Color.BLACK);
list.addAll(Application.dictionary); list.addAll(Application.dictionary);