From d11b4579d4c1142f7fb2a8eae4860ac31451742c Mon Sep 17 00:00:00 2001 From: osp1 Date: Fri, 1 May 2020 13:25:19 +0100 Subject: [PATCH] Fixed clipping issue in Translation and SixMeaning --- .../group20/javafx/SixMeaningsController.java | 4 +- .../uk/ac/aber/cs221/group20/sixmeanings.fxml | 139 +++++++++++------- .../uk/ac/aber/cs221/group20/translation.fxml | 127 ++++++++-------- 3 files changed, 152 insertions(+), 118 deletions(-) diff --git a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/SixMeaningsController.java b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/SixMeaningsController.java index 2a98a37..78aa3e1 100644 --- a/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/SixMeaningsController.java +++ b/src/Welsh Vocabulary Tutor/src/main/java/uk/ac/aber/cs221/group20/javafx/SixMeaningsController.java @@ -53,10 +53,10 @@ public class SixMeaningsController extends SharedCodeController { private final boolean isEnglish = AssessmentGenerator.isEnglish; @FXML - private Text correctAnswer; + private Label correctAnswer; @FXML - private Text wrongAnswer; + private Label wrongAnswer; @FXML private Label wordToTranslate; diff --git a/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/sixmeanings.fxml b/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/sixmeanings.fxml index 6784c6a..172e881 100644 --- a/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/sixmeanings.fxml +++ b/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/sixmeanings.fxml @@ -1,18 +1,21 @@ + - + + + - + @@ -118,65 +121,97 @@
- - + - - - - - - - +
diff --git a/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/translation.fxml b/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/translation.fxml index ff83a56..e46256e 100644 --- a/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/translation.fxml +++ b/src/Welsh Vocabulary Tutor/src/main/resources/uk/ac/aber/cs221/group20/translation.fxml @@ -1,81 +1,74 @@ - - - - - - - - - - - - - + - + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -84,15 +77,15 @@ - + - + - + @@ -104,18 +97,18 @@ - - + + - - + + - + - + @@ -126,27 +119,17 @@
- - - - - - - - - - - - - - - + + - - + - - + + + + + + + + + - + + + + + + + +
- -