瀏覽代碼

Fix the background colors on the field editor labels in iOS 6.

Ryan Olson 12 年之前
父節點
當前提交
45c9d70038
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      Classes/Editing/FLEXFieldEditorView.m

+ 7 - 0
Classes/Editing/FLEXFieldEditorView.m

@@ -78,6 +78,13 @@
     }
 }
 
+- (void)setBackgroundColor:(UIColor *)backgroundColor
+{
+    [super setBackgroundColor:backgroundColor];
+    self.targetDescriptionLabel.backgroundColor = backgroundColor;
+    self.fieldDescriptionLabel.backgroundColor = backgroundColor;
+}
+
 - (void)setTargetDescription:(NSString *)targetDescription
 {
     if (![_targetDescription isEqual:targetDescription]) {