project_files/HedgewarsMobile/Classes/SingleWeaponViewController.m
changeset 3825 fd6c20cd90e3
parent 3782 dc3531e49e4c
child 3829 81db3c85784b
equal deleted inserted replaced
3823:cca9bfb88a24 3825:fd6c20cd90e3
   187         editableCell.detailTextLabel.text = nil;
   187         editableCell.detailTextLabel.text = nil;
   188         
   188         
   189         if (row == 0) {
   189         if (row == 0) {
   190             editableCell.textField.text = self.weaponName;
   190             editableCell.textField.text = self.weaponName;
   191         } else {
   191         } else {
       
   192             editableCell.minimumCharacters = 0;
   192             editableCell.textField.font = [UIFont systemFontOfSize:[UIFont labelFontSize]];
   193             editableCell.textField.font = [UIFont systemFontOfSize:[UIFont labelFontSize]];
   193             editableCell.textField.text = self.description;
   194             editableCell.textField.text = self.description;
   194             editableCell.textField.placeholder = NSLocalizedString(@"You can add a description if you wish",@"");
   195             editableCell.textField.placeholder = NSLocalizedString(@"You can add a description if you wish",@"");
   195         }
   196         }
   196         cell = editableCell;
   197         cell = editableCell;