Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add CreateResizableImage, fixes stretched bubbles

  • Loading branch information...
commit d227678ca4d0c3a03551a7bd7e242878e9127dac 1 parent 7c39f5e
@conceptdev conceptdev authored
View
4 BubbleCell/BubbleCell/Bubble.cs
@@ -32,8 +32,8 @@ static BubbleCell ()
bright = UIImage.FromFile ("green.png");
bleft = UIImage.FromFile ("grey.png");
- left = bleft;
- right = bright;
+ left = bleft.CreateResizableImage (new UIEdgeInsets (10, 16, 18, 26));
+ right = bright.CreateResizableImage (new UIEdgeInsets (11, 11, 17, 18));
}
public BubbleCell (bool isLeft) : base (UITableViewCellStyle.Default, isLeft ? KeyLeft : KeyRight)
View
BIN  BubbleCell/Screenshots/BubbleCell.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Please sign in to comment.
Something went wrong with that request. Please try again.