From 6b06509cc8db9e84f32e0f86e0946bbe8d99aa7b Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 31 Jan 2012 18:22:33 +0300 Subject: [PATCH] [ios] Closed #549 - swap country and feature type in search results --- iphone/Maps/Classes/SearchCell.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iphone/Maps/Classes/SearchCell.mm b/iphone/Maps/Classes/SearchCell.mm index 1a922b9931..dfb2713bf9 100644 --- a/iphone/Maps/Classes/SearchCell.mm +++ b/iphone/Maps/Classes/SearchCell.mm @@ -22,10 +22,10 @@ featureType = [[[UILabel alloc] init] autorelease]; featureType.font = small; featureType.textColor = [UIColor grayColor]; + featureType.textAlignment = UITextAlignmentRight; featureCountry = [[[UILabel alloc] init] autorelease]; featureCountry.font = small; featureCountry.textColor = [UIColor grayColor]; - featureCountry.textAlignment = UITextAlignmentRight; featureDistance = [[[UILabel alloc] init] autorelease]; featureDistance.font = small; featureDistance.textColor = [UIColor grayColor]; @@ -55,8 +55,8 @@ CGFloat const xDelim = r.origin.x + w / 3 * 2; CGFloat const yDelim = r.origin.y + h / 3 * 2; featureName.frame = CGRectMake(r.origin.x, r.origin.y, xDelim - r.origin.x, yDelim - r.origin.y); - featureType.frame = CGRectMake(r.origin.x, yDelim, xDelim - r.origin.x, r.origin.y + h - yDelim); - featureCountry.frame = CGRectMake(xDelim, r.origin.y, r.origin.x + w - xDelim, yDelim - r.origin.y); + featureCountry.frame = CGRectMake(r.origin.x, yDelim, xDelim - r.origin.x, r.origin.y + h - yDelim); + featureType.frame = CGRectMake(xDelim, r.origin.y, r.origin.x + w - xDelim, yDelim - r.origin.y); featureDistance.frame = CGRectMake(xDelim, yDelim, r.origin.x + w - xDelim, r.origin.y + h - yDelim); }