Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorKirill Zhdanovich <kzhdanovich@gmail.com>2013-07-03 19:56:46 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:57:44 +0300
commit90bfc3c64d5de9ede8d1777489ab9fa1c1bba939 (patch)
treee8a69f9c7eac6e6101ae85f3e99609fba919a38c /iphone
parentcf811047e6abb34d3c2ba226ef1d005094fc9258 (diff)
[iOS] api cell style changed
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/PlacePreviewViewController.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm
index ad7638f2ca..4d7a794229 100644
--- a/iphone/Maps/Classes/PlacePreviewViewController.mm
+++ b/iphone/Maps/Classes/PlacePreviewViewController.mm
@@ -135,7 +135,14 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
{
cell = [tableView dequeueReusableCellWithIdentifier:@"ApiReturnCell"];
if (!cell)
+ {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"ApiReturnCell"] autorelease];
+ cell.textLabel.textAlignment = NSTextAlignmentCenter;
+ UIButton * tmp = [[UIButton buttonWithType:UIButtonTypeRoundedRect] autorelease];
+ [tmp setTitle:@"tmp" forState:UIControlStateNormal];
+ cell.textLabel.font = tmp.titleLabel.font;
+ cell.textLabel.textColor = tmp.titleLabel.textColor;
+ }
cell.textLabel.text = NSLocalizedString(@"more_info", nil);
}
return cell;