Re: full justification in a text field

2022-02-10 Thread Curry Kenworthy via use-livecode
Curt: > text with full justification in a field? Paul: > no justified option. There is a REALLY old enhancement request > at https://quality.livecode.com/show_bug.cgi?id=4714 Howdy, I know how to do this perfectly, and would love to add full justification to WordLib if there's demand/budget

RE: full justification in a text field

2022-02-10 Thread Ralph DiMola via use-livecode
: 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.wikipedi

Re: full justification in a text field

2022-02-10 Thread Peter Bogdanoff via use-livecode
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

full justification in a text field

2022-02-10 Thread Curt Ford via use-livecode
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

Re: full justification in a text field

2022-02-10 Thread Peter Bogdanoff via use-livecode
I’ve taken a quick stab at this ... This script adds spaces between words of a line to get it close to the full width of the field to create a quick & dirty faux fully-justified field. In operation, It converts each visible line of text to a LiveCode line (delineated by CRs) so the final text ha

Re: full justification in a text field

2022-02-09 Thread Tom Glod via use-livecode
Hello Curt, The only thing you can do is adjust the font size to maximize the use of the width of the field.with the don't wrap enabled. :) Remember the margins can be adjusted individually. like so 0,5,5,0 Also, there is a problem with the margins when the font gets too small. in those cases,

Re: full justification in a text field

2022-02-09 Thread Paul Dupuis via use-livecode
On 2/9/2022 5:24 PM, Curt Ford via use-livecode wrote: This seems like an awfully basic question, but is it possible to have text with full justification in a field? I've looked at using WordLib, but this client's text has lots of fussy formatting (background colors, different colors for indiv

full justification in a text field

2022-02-09 Thread Curt Ford via use-livecode
This seems like an awfully basic question, but is it possible to have text with full justification in a field? I've looked at using WordLib, but this client's text has lots of fussy formatting (background colors, different colors for individual characters) that didn't come through well. Than