My hierarchy (removed some overlay/images since they shouldn’t matter):
- [Root]
- Horizontal Box
- some area we don’t care about (size fill=0.8)
- divider (image with width=2, size auto)
- vertical box (size fill = 0.2)
- size box
- image
- size box
https://forums.unrealengine.com/core/image/gif;base64
I want the image to show up in the vertical box, with an aspect ratio of 1.7, and be horizontally aligned.
I tried wrapping it in a size box setting the minimum and maximum aspect ratio to 1.7, and using horizontal aligned, but then the entire image scaled down rather than simply be aligned.
Is this a bug or am I missing something?
Some picture since it’s easier to understand:
(1) Base. This is what it looks like with a size box and aspect ratio set and the image inside, but no alignment set
(2) Sizebox aligned. This is what happens when I set the sizebox alignment to middle in horizontal. As you can see, it scaled down the image rather than simply aligning it