installer: Reflow run-file-textbox-page text.

* gnu/installer/newt/page.scm (run-file-textbox-page): Reflow text.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Mathieu Othacehe 2019-05-04 11:43:28 +02:00 committed by Danny Milosavljevic
parent b7488b321d
commit 2bfb3883b9
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 6 additions and 1 deletions

View File

@ -576,7 +576,12 @@ ITEMS when 'Ok' is pressed."
'())))))
(form (make-form)))
(set-textbox-text file-textbox file-text)
(set-textbox-text file-textbox
(receive (_w _h text)
(reflow-text file-text
file-textbox-width
0 0)
text))
(add-form-to-grid grid form #t)
(make-wrapped-grid-window grid title)