Settings: Set the right label text color (Vector TextColor Black)

This commit is contained in:
giomfo
2016-07-08 15:02:09 +02:00
parent c400452abc
commit 894d753e74
4 changed files with 28 additions and 0 deletions
@@ -16,8 +16,17 @@
#import "TableViewCellWithCheckBoxAndLabel.h"
#import "VectorDesignValues.h"
@implementation TableViewCellWithCheckBoxAndLabel
- (void)awakeFromNib
{
[super awakeFromNib];
_label.textColor = kVectorTextColorBlack;
}
- (void)setEnabled:(BOOL)enabled
{
if (enabled)
@@ -16,6 +16,8 @@
#import "TableViewCellWithCheckBoxes.h"
#import "VectorDesignValues.h"
// The space between 2 check boxes
#define TABLEVIEWCELLWITHCHECKBOXES_MARGIN 8
@@ -134,6 +136,7 @@
UILabel *theLabel = [[UILabel alloc] initWithFrame:CGRectMake(60, 0, containerWidth - 60, 31)];
theLabel.translatesAutoresizingMaskIntoConstraints = NO;
theLabel.textColor = kVectorTextColorBlack;
[checkboxContainer addSubview:theLabel];
[labelArray addObject:theLabel];
@@ -16,12 +16,16 @@
#import "TableViewCellWithLabelAndLargeTextView.h"
#import "VectorDesignValues.h"
@implementation TableViewCellWithLabelAndLargeTextView
- (void)awakeFromNib
{
[super awakeFromNib];
_label.textColor = kVectorTextColorBlack;
// Adjust text view
// Remove the container inset: this operation impacts only the vertical margin.
// Reset textContainer.lineFragmentPadding to remove horizontal margin.