T O P I C R E V I E W |
john_siggy@yahoo.com |
Posted - Jul 13 2019 : 12:00:06 Wondering if (by some slim chance) a Text Layer can be autosizable just like an Image Layer is. Font height would automatically adjust as you resized the selection rectangle using the grab handles.
Regards,
John |
4 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Jul 15 2019 : 19:37:47 Hi John
ieoShrink shrinks only. The maximum size will be the specified font size, so choose a large font size for your layer.
Nigel Xequte Software www.imageen.com
|
john_siggy@yahoo.com |
Posted - Jul 15 2019 : 12:19:44 On closer inspection I found that setting TextOverflow to Shrink did indeed resize the font when the text selection rectangle is shrunk from it's original size. It does not work if the text is enlarged from original size.
Perhaps it would work if the text was 1st Maximized then set to the original size before layer is made visible ???
Thanks,
John |
john_siggy@yahoo.com |
Posted - Jul 15 2019 : 12:06:45 No luck with that. Tried it in the All Layers Demo and in my own program. Only WordWrap Works.
Cheers, |
aleatprog |
Posted - Jul 13 2019 : 19:54:39 Hi John, try the following:
TIETextLayer(ImageEnView1.CurrentLayer).WordWrap := False; TIETextLayer(ImageEnView1.CurrentLayer).TextOverflow := ieoShrink;
Al |