Sfoglia il codice sorgente

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

Ryan Olson 12 anni fa
parent
commit
45c9d70038
1 ha cambiato i file con 7 aggiunte e 0 eliminazioni
  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]) {