File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,7 @@ object CsvValidatorUi extends SimpleSwingApplication {
262262 }
263263
264264 private val txtArReport = new TextArea ()
265+ txtArReport.lineWrap = true
265266
266267 /**
267268 * The main UI of the application
@@ -366,7 +367,7 @@ object CsvValidatorUi extends SimpleSwingApplication {
366367
367368 private val scrollPane = new ScrollPane
368369 txtArReport.peer.setTransferHandler(fileHandler)
369- scrollPane.preferredSize = new Dimension (300 , 70 )
370+ scrollPane.preferredSize = new Dimension (300 , 70 ) // for some reason, line wrap only works if this is here so this will have to stay
370371 scrollPane.viewportView = txtArReport
371372
372373 private val btnValidate = new Button (" Validate" )
You can’t perform that action at this time.
0 commit comments