I’m trying to create a nested view that maintains it’s aspect ratio when the parent view is resized.
i.e., the nested view will stretch horizontally and vertically to fill the parent view but will always maintain it’s aspect ratio, leaving a gap either at the sides or above and below.
Is this possible?
There is an ‘aspect’ field in the top level ‘node’ section of the view, which works when resizing the plugin window, but this field is not present in child views.
I tried adding aspect = “1.5” to the view in the magic.xml but that didn’t work.