Answered
Textline respecting maks
Hi,
I'm playing around with the TLF, and I'm noticed a small bug. Some of my textLines aren't respecting the mask I use on them. I see this when calling TextBlock::createTextLine( null, XXX, 0.0, true ), where XXX is a small value, smaller than the textLine I'm creating. After creating the textLine, I apply the mask (which has been added to a display container) and add it to the displayContainer. The textLine doesn't respect the mask. When this happens the TextBlock::TextLineCreationResult = 'emergency'.
If I make a text line that fits the width that I specify in CreateTextLine(), everything works. It's only when I make the line too long that the mask doesn't work.
Any work arounds? If not can this be logged?
Thanks
Rob
I'm playing around with the TLF, and I'm noticed a small bug. Some of my textLines aren't respecting the mask I use on them. I see this when calling TextBlock::createTextLine( null, XXX, 0.0, true ), where XXX is a small value, smaller than the textLine I'm creating. After creating the textLine, I apply the mask (which has been added to a display container) and add it to the displayContainer. The textLine doesn't respect the mask. When this happens the TextBlock::TextLineCreationResult = 'emergency'.
If I make a text line that fits the width that I specify in CreateTextLine(), everything works. It's only when I make the line too long that the mask doesn't work.
Any work arounds? If not can this be logged?
Thanks
Rob
