Page 1 of 1

Right Aligned Image Draws Line

Posted: Thu Jan 18, 2024 3:42 pm
by standay
Hi Sergey,

Using 21.7.3 rve. I noticed today that if I put an image into the rve and align it to the right side, a line gets drawn from the left over to the image:

right_aligned_line.png
right_aligned_line.png (85.38 KiB) Viewed 10100 times

This happens even in the rve demo.

Is there a fix for that (for my version)? I'd guess it's something to do with the caret being drawn.

Thanks Sergey

Stan

Re: Right Aligned Image Draws Line

Posted: Thu Jan 18, 2024 5:26 pm
by Sergey Tkachenko
This is not a bug but a feature. It shows the place in text where this picture is inserted.
Please read the topic about TRVStyle.FloatingLineColor for additional information.
To hide these lines completely, assign clNone to TRVStyle.FloatingLineColor.

Re: Right Aligned Image Draws Line

Posted: Thu Jan 18, 2024 5:37 pm
by standay
Hi Sergey,

Yes, I just figured this out when you posted! I set FloatingLineColor to clNone in my 2 main styles and it's gone.

Thanks!

Stan