I was just trying to make text break at slashes today. I put a zero width space(U+200B) after every slash. Although LC did break the lines properly the space was not rendered as zero width. It was more like a thin space and a half and looked terrible. Is this an engine bug?
Ralph DiMola IT Director Evergreen Information Services [email protected] -----Original Message----- From: use-livecode [mailto:[email protected]] On Behalf Of Peter Bogdanoff via use-livecode Sent: Thursday, February 10, 2022 2:50 PM To: How to use LiveCode Cc: Peter Bogdanoff Subject: Re: full justification in a text field You’re welcome. What I really wanted to do is to use a narrower space character, such as the "thin space, U+2009" which would allow much better alignment of the right margin. That character does display in LiveCode. https://en.wikipedia.org/wiki/Whitespace_character But that seems to require modifying the htmlText to insert that character. Maybe someone knows how to set/insert the htmlText of a character without messing with the html directly. Peter Bogdanoff > On Feb 10, 2022, at 1:03 PM, Curt Ford via use-livecode > <[email protected]> wrote: > > Peter, that works really well. Looks like it does require a monospaced font > (I tried it with Monaco, looks good), so I'm not sure if my current client > will want this approach, but it's nice to have a relatively simple native > solution. Thanks so much! > > Curt > -- > Sent from Postbox > <https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_ > campaign=reach> _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
