Log in / Sign up
Ignition Features and Ideas
Adriaan le Roux
Belén Fernández Romero
and 48 more...
Powered by Canny
Expose Viewport Dimensions in Perspective
This would allow for resizing text based on window size. Currently, resizing a window in a coordinate view causes the text to wrap and become unreadable in some apps.
July 2, 2019
Log in to leave a comment
marked this post as
This functionality was released within Ignition v8.1.6.
More details here:
July 12, 2021
Regarding resizing text, refer to:
In my experience using a derivative of "vmin" in the fontsize field works well.
March 5, 2021
There is a free module provided by BIJC that implements this:
I have tested this and it works well (as long as you consider the possible performance implications)
Here is my original post where I was linked the information:
I take no credit for the module (credit goes to the to BIJC and their employees that kindly offer this component for free)
February 23, 2021
Exposing viewport width is useful for so many reasons beyond text resizing. Here is just a short list: 1. adjust tag history point count on the time series chart based on the width. A mobile phone with only 400 px resolution doesn't need as much point count resolution as web browser with 1800 px resolution. 2. use width to determine if an axis or legend should be displayed 3. use width to trim the text length used on a horizontal bar chart. 4 use width to granularly adjust a button width so you don't have to go through the time consuming effort of setting up another Breakpoint View to make a minor fix
February 19, 2020
It also useful when you want overlay object on map with cause them to scale.
If you set coordinate to percent map will be scale which is desirable but also cause other overlays item scale too which is not desirable.
So knowing the Viewport Dimensions make us enable to fix the items size.
January 10, 2020
It looks like there is a pretty good solution using media queries. The following is from tech support:
What you can do is create a style with a media query in it. This will allow you to set your font size based on resolution. By default it does it by 300px but of course this is fully configurable and you have the ability to create multiple styles as well. I hope this answers that question. Here is some documentation on media queries and styles
July 12, 2019
Powered by Canny