forked from organicmaps/organicmaps
[ios] Fixed place page layout bug.
This commit is contained in:
parent
e9f4460b1a
commit
ca4fb3c8eb
1 changed files with 3 additions and 1 deletions
|
@ -276,7 +276,9 @@ enum class AttributePosition
|
|||
{
|
||||
self.titleLabel.origin = {kLeftOffset, 0};
|
||||
self.typeLabel.origin = {kLeftOffset, self.titleLabel.maxY + kLabelsBetweenOffset};
|
||||
self.addressLabel.origin = {kLeftOffset, self.typeLabel.maxY + kLabelsBetweenOffset};
|
||||
self.addressLabel.origin = self.typeLabel.text.length > 0 ?
|
||||
CGPointMake(kLeftOffset, self.typeLabel.maxY + kLabelsBetweenOffset) :
|
||||
self.typeLabel.origin;
|
||||
}
|
||||
|
||||
- (void)layoutDistanceBoxWithPosition:(AttributePosition)position
|
||||
|
|
Loading…
Add table
Reference in a new issue