# Embedded view default size in Coordinate

**URL:** <https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [February 21, 2024, 1:07pm UTC](https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095 "2024-02-21T13:07:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pietro\_Ruggeri](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@Pietro\_Ruggeri](https://forum.inductiveautomation.com/u/Pietro_Ruggeri)\
**Post date:** [February 21, 2024, 1:07pm UTC](https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095/1 "2024-02-21T13:07:11Z")

</div>

Hi everyone,

I noticed that since my last update to version 8.1.37 something changed in the way I used to embed views into a Coordinate container in Perspective.

I need to repeatedly embed a view containing a single button over an image (P&Id) and I used to do it with tags drag&drop (the view is linked to their UDT).  
The results was an embedded button having the size of the embedded view as in the picture below.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/f/8f08e5943670377f311bed8b8b1357af5ebb971f.png)

Now the problem is when I drag and drop a tag the associated embedded view default size is way bigger and I would need to manually resize them all.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/4/04e2ba5ea1771392c6368a344ef00b8210e398ac.png)

I've already tried with _useDefaultViewWidth_ and _useDefaultViewHeight_ and here's the result.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/a/fa833264900d53560f6e257fa8f4a2956427108c.png)

Any idea?  
Thank you!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [February 21, 2024, 1:10pm UTC](https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095/2 "2024-02-21T13:10:11Z")

</div>

I think this was fixed for 8.1.38?

> [@Nightly 8.1 Changelogs - 2024](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/32):
>
> Nightly Changelog: 8.1.38-SNAPSHOT-b20240216 Reporting Reporting IGN-8229: Table containing simple table inside unstructured row cannot be exported to XLS Fixed an issue where attempting to export a table containing a simple table inside an unstructured row to XLS or XLSX formats would result in an error. Platform Core Other IGN-9040: Bump Logback version due to CVEs Updated Logback library from 1.2.12 to 1.3.14. Updated slf4j library from 1.7.36 to 2.0.12. Perspective Perspective IGN-9261:…

> [@Nightly 8.1 Changelogs - 2024](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2024/83608/33):
>
> ### Perspective
> 
> **IGN-9261: Coordinate Container: view node drops do not apply size to created embedded views**  
> Fixed view node drops in a coordinate container not applying view width and height.

---

<div class="post-metadata">

**Author:** ![Pietro\_Ruggeri](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@Pietro\_Ruggeri](https://forum.inductiveautomation.com/u/Pietro_Ruggeri)\
**Post date:** [February 21, 2024, 1:48pm UTC](https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095/3 "2024-02-21T13:48:35Z")

</div>

Thank you, upgrading to 8.1.38 solved the issue.

---

<div class="post-metadata">

**Author:** ![cwells](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cwells/32/35042_2.png) [@cwells](https://forum.inductiveautomation.com/u/cwells)\
**Post date:** [March 29, 2024, 2:02pm UTC](https://forum.inductiveautomation.com/t/embedded-view-default-size-in-coordinate/86095/4 "2024-03-29T14:02:48Z")

</div>

Thanks for bringing this up! However, I am having this issue when I have a binding on the dropped view's prop "defaultSize/height". Both the width and height of the instance are set to 320 when dragging and dropping a UDT instance with the prop "dropConfig/udts" to my coordinate container (action set as "path") . Remove or disable the aforementioned binding, it works great. I got the same results with a binding on "defaultSize/width" as well.

I also get similar results when dragging and dropping the dropped view from the Project Browser, except only the bound width and/or height are not default. They also get set to 800 instead of 320.

I am using 8.1.38.

Thanks, I hope this helps.
