forked from organicmaps/organicmaps
[ios][bookmarks] auto-camel case in bookmark and set names
This commit is contained in:
parent
03ed68386a
commit
f9523d9e39
4 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,7 @@
|
|||
f.autocorrectionType = UITextAutocorrectionTypeNo;
|
||||
f.delegate = self;
|
||||
f.placeholder = NSLocalizedString(@"bookmark_set_name", @"Add Bookmark Set dialog - hint when set name is empty");
|
||||
f.autocapitalizationType = UITextAutocapitalizationTypeWords;
|
||||
cell.accessoryView = f;
|
||||
cell.selectionStyle = UITableViewCellSelectionStyleNone;
|
||||
return cell;
|
||||
|
|
|
@ -173,6 +173,7 @@
|
|||
f.font = [cell.textLabel.font fontWithSize:[cell.textLabel.font pointSize]];
|
||||
f.tag = TEXTFIELD_TAG;
|
||||
f.delegate = self;
|
||||
f.autocapitalizationType = UITextAutocapitalizationTypeWords;
|
||||
cell.textLabel.hidden = YES;
|
||||
cell.detailTextLabel.hidden = YES;
|
||||
cell.accessoryType = UITableViewCellAccessoryNone;
|
||||
|
|
|
@ -99,6 +99,7 @@
|
|||
f.font = [cell.detailTextLabel.font fontWithSize:[cell.detailTextLabel.font pointSize]];
|
||||
f.tag = TEXTFIELD_TAG;
|
||||
f.delegate = self;
|
||||
f.autocapitalizationType = UITextAutocapitalizationTypeWords;
|
||||
// Reset temporary font
|
||||
cell.detailTextLabel.text = nil;
|
||||
[cell.contentView addSubview:f];
|
||||
|
|
|
@ -147,6 +147,7 @@
|
|||
f.font = [cell.detailTextLabel.font fontWithSize:[cell.detailTextLabel.font pointSize]];
|
||||
f.tag = TEXTFIELD_TAG;
|
||||
f.delegate = self;
|
||||
f.autocapitalizationType = UITextAutocapitalizationTypeWords;
|
||||
// Reset temporary font
|
||||
cell.detailTextLabel.text = nil;
|
||||
[cell.contentView addSubview:f];
|
||||
|
|
Loading…
Add table
Reference in a new issue