#1874 is now fixed, merry christmas

This commit is contained in:
Guillaume BIENKOWSKI 2014-12-19 16:44:17 +01:00
parent c8d6ed9f7e
commit 1ea8d5b032
2 changed files with 6 additions and 8 deletions

View file

@ -49,7 +49,7 @@
<subviews>
<view contentMode="scaleToFill" id="77" userLabel="otherView">
<rect key="frame" x="0.0" y="0.0" width="320" height="300"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
<subviews>
<view contentMode="scaleToFill" id="31" userLabel="avatarView">
<rect key="frame" x="0.0" y="63" width="320" height="237"/>

View file

@ -250,11 +250,6 @@
}
- (void)prepareForReuse {
}
#pragma mark - Properties Functions
- (void)setData:(UICallCellData *)adata {
@ -427,9 +422,12 @@
if(!data->minimize) {
CGRect frame = [self frame];
frame.size.height = [otherView frame].size.height;
frame.size.height = [UICallCell getMaximizedHeight];
[self setFrame:frame];
frame = otherView.frame;
frame.size.height = [UICallCell getMaximizedHeight];
[otherView setHidden:false];
otherView.frame = frame;
} else {
CGRect frame = [self frame];
frame.size.height = [headerView frame].size.height;
@ -528,7 +526,7 @@
if(parentTable != nil) {
NSIndexPath *index= [parentTable indexPathForCell:self];
if(index != nil) {
[parentTable reloadRowsAtIndexPaths:[[[NSArray alloc] initWithObjects:index, nil] autorelease] withRowAnimation:false];
[parentTable reloadRowsAtIndexPaths:@[index] withRowAnimation:false];
}
}
}