|
@@ -123,12 +123,32 @@
|
|
|
//field Name
|
|
|
self.textFiledView.contentField.text = self.comboxChoiceWidget.fieldName;
|
|
|
//border color
|
|
|
- self.borderColorView.selectedColor = self.comboxChoiceWidget.borderColor;
|
|
|
- //back groundColor
|
|
|
- self.backGroundColorView.selectedColor = self.comboxChoiceWidget.backgroundColor;
|
|
|
- //Text color
|
|
|
- self.textColorView.selectedColor = self.comboxChoiceWidget.fontColor;
|
|
|
+ if(self.comboxChoiceWidget.borderColor == nil) {
|
|
|
+ self.borderColorView.selectedColor = [UIColor clearColor];
|
|
|
+ self.comboxChoiceWidget.borderColor = self.borderColorView.selectedColor;
|
|
|
+ [self refreshUI];
|
|
|
+ }else{
|
|
|
+ self.borderColorView.selectedColor = self.comboxChoiceWidget.borderColor;
|
|
|
+ }
|
|
|
+
|
|
|
+ if(self.comboxChoiceWidget.backgroundColor == nil) {
|
|
|
+ self.backGroundColorView.selectedColor = [UIColor clearColor];
|
|
|
+ self.comboxChoiceWidget.backgroundColor = self.backGroundColorView.selectedColor;
|
|
|
+ [self refreshUI];
|
|
|
+ }else {
|
|
|
+ //back groundColor
|
|
|
+ self.backGroundColorView.selectedColor = self.comboxChoiceWidget.backgroundColor;
|
|
|
+ }
|
|
|
|
|
|
+ if(self.comboxChoiceWidget.fontColor == nil) {
|
|
|
+ self.textColorView.selectedColor = [UIColor blackColor];
|
|
|
+ self.comboxChoiceWidget.fontColor = self.textColorView.selectedColor;
|
|
|
+ [self refreshUI];
|
|
|
+ }else {
|
|
|
+ //Text color
|
|
|
+ self.textColorView.selectedColor = self.comboxChoiceWidget.fontColor;
|
|
|
+ }
|
|
|
+
|
|
|
//Text content
|
|
|
[self analyzeFont:self.comboxChoiceWidget.font.fontName];
|
|
|
|