diff --git a/csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala b/csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala index 3bdaa709..c483c5f5 100644 --- a/csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala +++ b/csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala @@ -262,6 +262,7 @@ object CsvValidatorUi extends SimpleSwingApplication { } private val txtArReport = new TextArea() + txtArReport.lineWrap = true /** * The main UI of the application @@ -366,7 +367,7 @@ object CsvValidatorUi extends SimpleSwingApplication { private val scrollPane = new ScrollPane txtArReport.peer.setTransferHandler(fileHandler) - scrollPane.preferredSize = new Dimension(300, 70) + scrollPane.preferredSize = new Dimension(300, 70) // for some reason, line wrap only works if this is here so this will have to stay scrollPane.viewportView = txtArReport private val btnValidate = new Button("Validate")