nsftx / chameleon-bundle-material

Material Bundle for Chameleon applications
https://chameleon.nsoft.com
6 stars 1 forks source link

Image height rendering issue in Containers #271

Closed esmehodzic closed 5 years ago

esmehodzic commented 5 years ago

There is a specific case of an Image height rendering in Panel (Vertical list, as well).

Adding an Image to a Panel with 100% w/h and setting width of an Image to 100% and it's height to a 50%, results with an Image's height being displayed as a 25% of a Panel. Changing the height to 100% results in image actually being 100% of a Panel.

See images below:

Image, 50% height: image

Image, 100% height: image

Steps to reproduce:

Originally posted by @esmehodzic in https://github.com/nsftx/chameleon-bundle-material/pull/269#issuecomment-545955688

esmehodzic commented 5 years ago

This is ok now. Images are rendered in their defined height in percentages. #totallyfine ✔️

Image, 50% height: image

Image, 100% height: image