# Move av component om a view from margin to margin regardless of the screen resolution

**URL:** <https://forum.inductiveautomation.com/t/move-av-component-om-a-view-from-margin-to-margin-regardless-of-the-screen-resolution/86674>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 1, 2024, 1:22pm UTC](https://forum.inductiveautomation.com/t/move-av-component-om-a-view-from-margin-to-margin-regardless-of-the-screen-resolution/86674 "2024-03-01T13:22:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kjell](https://avatars.discourse-cdn.com/v4/letter/k/5daacb/32.png) [@kjell](https://forum.inductiveautomation.com/u/kjell)\
**Post date:** [March 1, 2024, 1:22pm UTC](https://forum.inductiveautomation.com/t/move-av-component-om-a-view-from-margin-to-margin-regardless-of-the-screen-resolution/86674/1 "2024-03-01T13:22:34Z")

</div>

Want to move av component om a view from margin to margin regardless of the screen resolution.  
View size 800 x 800 in designer.

We have Cordinate Container with a component which has a scaled binding from 0 -800 on the x position.  
Cordinate Container is within a Flex container.

In designer the component which we want to move is relative to the real position at the plant floor.  
When vi launch the URL on screen with 1920 resolution, the component which should be most right is now is approx. on the center.

Have also tried the View Canvas without success.

How to move a component from margin to margin regardless of the screen size and aspect ratio?

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [March 4, 2024, 10:04am UTC](https://forum.inductiveautomation.com/t/move-av-component-om-a-view-from-margin-to-margin-regardless-of-the-screen-resolution/86674/2 "2024-03-04T10:04:21Z")

</div>

could you post a sample view of what you did and an image of what you want to achieve?

---

<div class="post-metadata">

**Author:** ![kjell](https://avatars.discourse-cdn.com/v4/letter/k/5daacb/32.png) [@kjell](https://forum.inductiveautomation.com/u/kjell)\
**Post date:** [March 4, 2024, 1:31pm UTC](https://forum.inductiveautomation.com/t/move-av-component-om-a-view-from-margin-to-margin-regardless-of-the-screen-resolution/86674/3 "2024-03-04T13:31:24Z")

</div>

Case Solved 😃

> [@Perspective relative positions](https://forum.inductiveautomation.com/t/perspective-relative-positions/55115/3):
>
> @Daniel.Snyder is correct: if you want components to have relative positioning within your coordinate container, then you need to set the mode of the root container to “percent”. The values will change from XXpx to numeric values which represent a percent of the dimension, so from a given default width of 800px for a View where a component is placed at 200px as an x position, swapping to “percent” would result in the component having an x position of 0.25, because that x position equates to 25% …
