full justification in a text field

Tom Glod tom at makeshyft.com
Wed Feb 9 22:28:58 EST 2022


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, it helps to have "showborder" enabled, even if the borderwidth
is set to 0.

All the best,

Tom

Founder & Developer @ MakeShyft R.D.A <https://www.makeshyft.com/>
Build Software with AppStarterStack <https://www.appstarterstack.com/> for
Livecode
Save Time with The Time Saver's Toolbox <https://www.timesaverstoolbox.com/>

On Wed, Feb 9, 2022 at 5:50 PM Paul Dupuis via use-livecode <
use-livecode at lists.runrev.com> wrote:

> 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 individual
> > characters) that didn't come through well.
> >
> > Thanks for any ideas,
> >
> > Curt
>
> See the Dictionary entry for textAlign:
>
> set the textAlign [of line] of {button | field} to {left | center | right}
>
> There is no justified option. There is a REALLY old enhancement request
> at https://quality.livecode.com/show_bug.cgi?id=4714
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


More information about the use-livecode mailing list