Updated langSwitch icon to more info

This commit is contained in:
osp1 2020-05-01 12:35:40 +01:00
parent e169118c3a
commit 41461980f9
6 changed files with 7 additions and 2 deletions

View file

@ -73,6 +73,7 @@ public class DictionaryController extends SharedCodeController {
else if (welsh.getSortType().equals(TableColumn.SortType.DESCENDING)) { else if (welsh.getSortType().equals(TableColumn.SortType.DESCENDING)) {
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png")); alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png"));
} }
langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-welsh-50.png"));
table.getSortOrder().clear(); table.getSortOrder().clear();
table.getSortOrder().add(welsh); table.getSortOrder().add(welsh);
isSortedByEnglish = false; isSortedByEnglish = false;
@ -84,6 +85,7 @@ public class DictionaryController extends SharedCodeController {
else if (english.getSortType().equals(TableColumn.SortType.DESCENDING)) { else if (english.getSortType().equals(TableColumn.SortType.DESCENDING)) {
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png")); alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png"));
} }
langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-eng-50.png"));
table.getSortOrder().clear(); table.getSortOrder().clear();
table.getSortOrder().add(english); table.getSortOrder().add(english);
isSortedByEnglish = true; isSortedByEnglish = true;
@ -164,7 +166,7 @@ public class DictionaryController extends SharedCodeController {
currentPageText.setText("Dictionary"); currentPageText.setText("Dictionary");
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-50.png")); 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")); langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-eng-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);

View file

@ -68,6 +68,7 @@ public class PracticeListController extends SharedCodeController {
} else if (welsh.getSortType().equals(TableColumn.SortType.DESCENDING)) { } else if (welsh.getSortType().equals(TableColumn.SortType.DESCENDING)) {
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png")); alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png"));
} }
langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-welsh-50.png"));
table.getSortOrder().clear(); table.getSortOrder().clear();
table.getSortOrder().add(welsh); table.getSortOrder().add(welsh);
isSortedByEnglish = false; isSortedByEnglish = false;
@ -77,6 +78,8 @@ public class PracticeListController extends SharedCodeController {
} else if (english.getSortType().equals(TableColumn.SortType.DESCENDING)) { } else if (english.getSortType().equals(TableColumn.SortType.DESCENDING)) {
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png")); alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-reversed-50.png"));
} }
langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-eng-50.png"));
table.getSortOrder().clear(); table.getSortOrder().clear();
table.getSortOrder().add(english); table.getSortOrder().add(english);
isSortedByEnglish = true; isSortedByEnglish = true;
@ -159,7 +162,7 @@ public class PracticeListController extends SharedCodeController {
currentPageText.setText("Practice List"); currentPageText.setText("Practice List");
alphaSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-alpha-up-50.png")); 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")); langSort.setImage(new Image("file:src/main/resources/assets/icons/black_icons/50px/sort-lang-eng-50.png"));
practiceListIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/black_icons/50px/rating-50.png"))); practiceListIcon.setImage(new Image(getClass().getResourceAsStream("/assets/icons/black_icons/50px/rating-50.png")));
practiceListTest.setFill(Color.BLACK); practiceListTest.setFill(Color.BLACK);

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB