forked from organicmaps/organicmaps
[ios] Fixed drop down.
This commit is contained in:
parent
58df58f385
commit
138798419b
1 changed files with 1 additions and 1 deletions
|
@ -25,8 +25,8 @@ CGFloat const kTopOffset = 25.;
|
|||
CGFloat const superviewWidth = self.superview.width;
|
||||
self.message.width = superviewWidth - 2 * kLeadingOffset;
|
||||
[self.message sizeToFit];
|
||||
self.size = {superviewWidth, kTopOffset + kBottomOffset + self.message.height};
|
||||
self.message.midX = self.superview.midX;
|
||||
self.height = kTopOffset + kBottomOffset + self.message.height;
|
||||
[super layoutSubviews];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue