<Poster
id="headerLogo"
uri="pkg:/images/header-logo.png"
loadHeight="80"
loadDisplayMode="scaleToFill"
/>
distorting the image if the target screen element area has a different aspect ratio than the image
<Poster
loadHeight="80"
loadWidth="960"
loadDisplayMode="scaleToFit"
uri="pkg:/images/header-logo.png"
/>
"rynop" wrote:
I ended up doing this:<Poster
loadHeight="80"
loadWidth="960"
loadDisplayMode="scaleToFit"
uri="pkg:/images/header-logo.png"
/>
I had to add a loadWidth, not sure why as it is totally ignored. Seems like a hack.