Jacque,

It sounds like the HTML tags are setting the size for runs of text in the 
field, so you can’t just set the textSize of the field?

Are there varying sizes of text runs in the field? Could you set the textSize 
of the char 1 to -1 of the field to empty, then set it for the whole field? In 
one project I’ve implemented a feature similar to what Bob was talking about 
where I increment the textSize of the field by 1 point using Cmd/Cntl + or -.

- Devin


On May 20, 2022, at 10:32 AM, J. Landman Gay via use-livecode 
<use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote:

I have a field whose HTMLtext is set to a heavily tagged HTML file that changes 
the font size repeatedly. We want to allow the user to adjust the size of the 
text. The easiest way would be to use percentages for the font sizes so that 
changing the field's textsize would change the markup proportionally, but LC 
fields don't seem to support that. Is there a trick or do I need to do a series 
of replacements? I'm afraid that will be too slow, there's a lot of text.

--
Jacqueline Landman Gay | 
jac...@hyperactivesw.com<mailto:jac...@hyperactivesw.com>
HyperActive Software | http://www.hyperactivesw.com



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Devin Asay
Office of Digital Humanities
Brigham Young University

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to