Small UI adjustments

This commit is contained in:
Armin Schrenk
2021-07-08 16:00:36 +02:00
parent f61073d1c6
commit a9db8eb0d5
4 changed files with 5 additions and 3 deletions

View File

@@ -20,6 +20,7 @@ public enum FontAwesome5Icon {
EXCLAMATION_TRIANGLE("\uF071"), //
EYE("\uF06E"), //
EYE_SLASH("\uF070"), //
FAST_FORWARD("\uF050"), //
FILE("\uF15B"), //
FILE_IMPORT("\uF56F"), //
FOLDER_OPEN("\uF07C"), //

View File

@@ -56,7 +56,8 @@ class CheckListCell extends ListCell<Check> {
private FontAwesome5Icon glyphForState(Check item) {
return switch (item.getState()) {
case RUNNABLE, SKIPPED -> null;
case RUNNABLE -> null;
case SKIPPED -> FontAwesome5Icon.FAST_FORWARD;
case SCHEDULED -> FontAwesome5Icon.CLOCK;
case RUNNING -> FontAwesome5Icon.SPINNER;
case ERROR -> FontAwesome5Icon.TIMES;