You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I create StyledMultilineElement I am assigning an Image to it like this:
loStyledMultilineElement = new StyledMultilineElement(lcAreas, lcTimes, UITableViewCellStyle.Subtitle);
if (lbIsFavorite)
{
loStyledMultilineElement.Image = UIImage.FromBundle("Images/favorite.png");
}
else
{
loStyledMultilineElement.Image = UIImage.FromBundle("Images/non-favorite.png");
}
In the SytledMultilineElement’s GetHeight method, it is not accounting for the width of the space that is given to the image, i.e. the amount that the text is inset to provide room for the image. Consequently, the height is not being calculated properly when the element has an image assigned.
The text was updated successfully, but these errors were encountered:
After I create StyledMultilineElement I am assigning an Image to it like this:
loStyledMultilineElement = new StyledMultilineElement(lcAreas, lcTimes, UITableViewCellStyle.Subtitle);
if (lbIsFavorite)
{
loStyledMultilineElement.Image = UIImage.FromBundle("Images/favorite.png");
}
else
{
loStyledMultilineElement.Image = UIImage.FromBundle("Images/non-favorite.png");
}
In the SytledMultilineElement’s GetHeight method, it is not accounting for the width of the space that is given to the image, i.e. the amount that the text is inset to provide room for the image. Consequently, the height is not being calculated properly when the element has an image assigned.
The text was updated successfully, but these errors were encountered: