Hello,
I’m facing an issue with component alignment within a percent mode coordinate container in Ignition’s Perspective module. Let me explain the scenario:
-
I have a frame (SVG file) with 1.0 x 1.0 dimensions.
-
I’ve placed buttons that should be centered within the frame.
However, when I resize the container, the buttons becomes off-center relative to the frame. I want to maintain perfect alignment regardless of the container size.
Here is what I tried :
- Changing props.fit.mode of the image component
- Embeding it in flex containers
Questions:
- How can I ensure that the button stays centered within the frame even when the container size changes?
- Are there any specific properties or techniques I should use to achieve this?
Any insights or suggestions would be greatly appreciated! Thank you in advance.