Просмотр исходного кода

Pass through background color changes on the argument input view to its title label.

Ryan Olson лет назад: 12
Родитель
Сommit
3b8bd43747
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      Classes/Editing/Argument Input Views/FLEXArgumentInputView.m

+ 6 - 0
Classes/Editing/Argument Input Views/FLEXArgumentInputView.m

@@ -38,6 +38,12 @@
     }
 }
 
+- (void)setBackgroundColor:(UIColor *)backgroundColor
+{
+    [super setBackgroundColor:backgroundColor];
+    self.titleLabel.backgroundColor = backgroundColor;
+}
+
 - (void)setTitle:(NSString *)title
 {
     if (![_title isEqual:title]) {