The ``ui.gadgets.paragraphs:paragraph`` does the wrapping.

    300 <paragraph> dup [
        100 [ "hello " write ] times
    ] with-output-stream* gadget.



On Mon, Jun 19, 2017 at 12:01 PM, Alexander Ilin <ajs...@yandex.ru> wrote:

> Hello!
>
>   Do we have a control that performs word-wrapping of its contents
> dynamically based on its current pixel width?
>   I noticed that even the Help Browser has fixed-width paragraphs, not
> adjusted to the window width. And it manages to perform word wrapping with
> a non-monospaced font, i.e. based on text pixel width?
>
> ---=====---
>  Александр
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to