project_files/HedgewarsMobile/Classes/EditableCellView.m
changeset 4210 caa9b08990eb
parent 4208 dd54999c2822
child 4211 7dcbd236ca59
--- a/project_files/HedgewarsMobile/Classes/EditableCellView.m	Sun Nov 07 17:48:21 2010 -0500
+++ b/project_files/HedgewarsMobile/Classes/EditableCellView.m	Sun Nov 07 18:35:21 2010 -0500
@@ -31,6 +31,7 @@
 
         textField = [[UITextField alloc] initWithFrame:CGRectZero];
         textField.backgroundColor = [UIColor clearColor];
+        textField.font = [UIFont boldSystemFontOfSize:[UIFont labelFontSize]];
         textField.delegate = self;
         textField.clearButtonMode = UITextFieldViewModeWhileEditing;
         textField.clearsOnBeginEditing = NO;
@@ -76,8 +77,6 @@
         skew +=2;
     }
 
-    // sometimes the bold property gets lost
-    textField.font = [UIFont boldSystemFontOfSize:[UIFont labelFontSize]];
     textField.frame = CGRectMake(boundsX+offset+10, skew+10, 300, [UIFont labelFontSize] + 4);
 }