We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c69662 commit eae52f8Copy full SHA for eae52f8
csv-validator-ui/src/main/scala/uk/gov/nationalarchives/csv/validator/ui/CsvValidatorUi.scala
@@ -262,6 +262,7 @@ object CsvValidatorUi extends SimpleSwingApplication {
262
}
263
264
private val txtArReport = new TextArea()
265
+ txtArReport.lineWrap = true
266
267
/**
268
* The main UI of the application
@@ -366,6 +367,7 @@ object CsvValidatorUi extends SimpleSwingApplication {
366
367
368
private val scrollPane = new ScrollPane
369
txtArReport.peer.setTransferHandler(fileHandler)
370
+ scrollPane.preferredSize = new Dimension(300, 70) // for some reason, line wap only works if this is here
371
scrollPane.viewportView = txtArReport
372
373
private val btnValidate = new Button("Validate")
0 commit comments