Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Image wrapped in StackLayout not updating

$
0
0

Hey folks

I've got a minor problem I'm not sure how to fix.
I've created my own version of an Image Text Cell, inheriting from ViewCell. Similar to the standard "Image in left side, lines of text on the right side of it".
Very similar to the right device on this image:
MDM iOS profiles list.jpg

I've wrapped the image in a StackPanel to give it some padding, however the padding doesn't update until I scroll further down the list, and back up. Which makes me think a quick redraw would fix it, since that's essentially what the platform does when recreating views.
Anyone know how this is possible in Forms? Or how I might fix the problem I'm encountering?

Alternatively, does it already exist in the Xamarin Forms toolbox, and I've merely been too blind to see it?

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>