FPPopover icon indicating copy to clipboard operation
FPPopover copied to clipboard

Small bug when using NoArrow and title = Nil

Open Janne-M opened this issue 12 years ago • 0 comments

In FPPopoverView, -(void)setupViews, the contentRect calculation is wrong when arrorDirection is NoArrow combined with no title.

contentRect.origin = CGPointMake(10, 30); contentRect.size = CGSizeMake(self.bounds.size.width-20, self.bounds.size.height-40);

Should be: contentRect.origin = CGPointMake(10, 10); contentRect.size = CGSizeMake(self.bounds.size.width-20, self.bounds.size.height-20);

Janne-M avatar May 14 '13 13:05 Janne-M