Skip to content
Snippets Groups Projects
Commit 8f07386a authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

call: fix conference layout

Change-Id: Ie2d6f96994271d71c4d8f1b28f68a4e632662add
parent 9e67556e
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,9 @@ CGFloat const controlSize = 40;
}
- (void)sizeChanged {
if (self.superview == nil) {
return;
}
NSArray* constraints = [NSArray arrayWithObjects: self.widthConstraint, self.heightConstraint, self.centerXConstraint, self.centerYConstraint, nil];
[self.superview removeConstraints: constraints];
[self.superview layoutSubtreeIfNeeded];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment