Hello
I had created a view of Co ordinate container with size as 1920x1080 and property is as percent and aspect ratio of 1920x1080.
Inside the container I have a svg image property as fill and width = 1920, height 1080 and pointerEvents as None
On top of svg I have placed 100s of embedded views of components.
When I load the view, the embedded view size is getting shrink and position is also not correct, and when i try to zoom in/zoom out or resize the browser the embedded view size and position shows correctly.
Every time I am saving the project or loading the view i face this issue.
Suggestions or advice will be helpful for me
What are your embedded views? Are they also coord? Are they set to percent? Aspect ratio on the embedded view definitely should not be set
I didnt understand embedded view DEF should not be set means?
It means you should set your embedded views coordinate container to fixed instead of percent.
Some of the embedded views are Co ordinate and mode is of percent and some views are of Flex container
Nooo! They should always match if using percent in the main view (ie embedded views should be percent) . But embedded views should have their aspect ratios blank
I'm guessing these are the ones you're having issues with aligning and not your percent coord embedded views?
For embedded flex views to align when embedded onto a coord view, their internal content needs to fill the entire root view
Right, apologies. I misunderstood what you were saying originally.
1 Like