I have a flexible height gallery where the TemplateSize is set based on the position and height of a particular label. In the image below, the label to the right of "Details" (named "val_Details") has auto-height enabled, and the TemplateSize is set to "val_Details.Y + val_Details.Height + 10". In the first item, that label is less than a full row, so it's fine. In the second, you can see the top edge of the text on the second row, and in the third, it's properly sized. This pattern seems to be somewhat consistent (ie: the first and maybe second entry that should auto-size don't, but subsequent entries do. The rounded rectangle (a button in view mode) that serves as the background image for each cell has its height set by almost the same formula (except it's "+ 5" at the end). Originally, I was setting the templatesize on the height of that button plus 5 pixels, but the behavior was exactly the same. I thought it was the "second hand" nature of the sizing that was the issue, but apparently not. I've done this before in other apps without this problem, so I'm not sure what the problem is here.
