Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions FXForms/FXForms.m
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
static const CGFloat FXFormFieldMinLabelWidth = 97;
static const CGFloat FXFormFieldMaxLabelWidth = 240;
static const CGFloat FXFormFieldMinFontSize = 12;
static const CGFloat FXFormFieldPaddingLeft = 10;
static const CGFloat FXFormFieldPaddingRight = 10;
static const CGFloat FXFormFieldPaddingLeft = 15;
static const CGFloat FXFormFieldPaddingRight = 15;
static const CGFloat FXFormFieldPaddingTop = 12;
static const CGFloat FXFormFieldPaddingBottom = 12;

Expand Down Expand Up @@ -2499,9 +2499,10 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
{
if ((self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]))
{
self.textLabel.font = [UIFont boldSystemFontOfSize:17];
self.textLabel.font = [UIFont systemFontOfSize:17];
FXFormLabelSetMinFontSize(self.textLabel, FXFormFieldMinFontSize);
self.detailTextLabel.font = [UIFont systemFontOfSize:17];
self.detailTextLabel.textColor = [[[UIApplication sharedApplication] keyWindow] tintColor];
FXFormLabelSetMinFontSize(self.detailTextLabel, FXFormFieldMinFontSize);

if ([[UIDevice currentDevice].systemVersion floatValue] >= 7.0)
Expand Down Expand Up @@ -2769,7 +2770,7 @@ - (void)setUp
self.textField.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleBottomMargin |UIViewAutoresizingFlexibleLeftMargin;
self.textField.font = [UIFont systemFontOfSize:self.textLabel.font.pointSize];
self.textField.minimumFontSize = FXFormLabelMinFontSize(self.textLabel);
self.textField.textColor = [UIColor colorWithRed:0.275f green:0.376f blue:0.522f alpha:1.000f];
self.textField.textColor = [[[UIApplication sharedApplication] keyWindow] tintColor];
self.textField.delegate = self;
[self.contentView addSubview:self.textField];

Expand Down Expand Up @@ -3004,7 +3005,7 @@ - (void)setUp
self.textView = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, 320, 21)];
self.textView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleBottomMargin | UIViewAutoresizingFlexibleRightMargin;
self.textView.font = [UIFont systemFontOfSize:17];
self.textView.textColor = [UIColor colorWithRed:0.275f green:0.376f blue:0.522f alpha:1.000f];
self.textView.textColor = [[[UIApplication sharedApplication] keyWindow] tintColor];
self.textView.backgroundColor = [UIColor clearColor];
self.textView.delegate = self;
self.textView.scrollEnabled = NO;
Expand Down