Skip to content

Commit

Permalink
fix size in sheet mode. Patch courtesy @DemonToby, see Friend-LGA#51
Browse files Browse the repository at this point in the history
  • Loading branch information
mickeyl committed Sep 24, 2018
1 parent dcde33d commit 119e081
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions LGAlertView/LGAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2701,6 +2701,7 @@ - (void)subviewsValidateWithSize:(CGSize)size {
self.tableView.delegate = self;
self.tableView.scrollEnabled = NO;
[self.tableView registerClass:[LGAlertViewCell class] forCellReuseIdentifier:@"cell"];
self.tableView.estimatedRowHeight = _buttonsHeight;
self.tableView.frame = CGRectMake(0.0, 0.0, width, CGFLOAT_MAX);
[self.tableView reloadData];

Expand Down

0 comments on commit 119e081

Please sign in to comment.