Text on Perspective elements doesn't shrink

Have you tried SVG text?

Create a file on your computer called text.svg and edit with notepad. Add the follwing text to the file…

<svg height="20" width="80" viewBox="0 0 80 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  <text x="0" y="15" fill="blue">SVG Text</text>
</svg>

Assuming your view is a coordinate container, drag the file from your computer and drop it on a view in ignition perspective designer. When the ‘Link Image’ windows pops up select the ‘Embed Image’ option. Now you have some svg text in your view. Change the views root property mode to percent.

Now if you embed that view somewhere else the svg text will scale.

I’m not 100% on the svg code but it’s pretty straightforward to manipulate.

New View (coordinate container, mode:percent)
image

Embedded New View within another
image

2 Likes