|
@@ -114,19 +114,25 @@
|
|
self.formTextFiledView.contentField.text = self.buttonWidget.fieldName;
|
|
self.formTextFiledView.contentField.text = self.buttonWidget.fieldName;
|
|
|
|
|
|
if(self.buttonWidget.borderColor == nil){
|
|
if(self.buttonWidget.borderColor == nil){
|
|
- self.borderColorView.selectedColor = [UIColor blackColor];
|
|
|
|
|
|
+ self.borderColorView.selectedColor = [UIColor clearColor];
|
|
self.buttonWidget.borderColor = self.borderColorView.selectedColor;
|
|
self.buttonWidget.borderColor = self.borderColorView.selectedColor;
|
|
[self refreshUI];
|
|
[self refreshUI];
|
|
}else{
|
|
}else{
|
|
self.borderColorView.selectedColor = self.buttonWidget.borderColor;
|
|
self.borderColorView.selectedColor = self.buttonWidget.borderColor;
|
|
}
|
|
}
|
|
|
|
|
|
- self.backGroundColorView.selectedColor = self.buttonWidget.backgroundColor;
|
|
|
|
|
|
+ if(self.buttonWidget.backgroundColor == nil) {
|
|
|
|
+ self.backGroundColorView.selectedColor = [UIColor clearColor];
|
|
|
|
+ self.buttonWidget.backgroundColor = self.backGroundColorView.selectedColor;
|
|
|
|
+ [self refreshUI];
|
|
|
|
+ }else{
|
|
|
|
+ self.backGroundColorView.selectedColor = self.buttonWidget.backgroundColor;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
if(self.buttonWidget.fontColor == nil) {
|
|
if(self.buttonWidget.fontColor == nil) {
|
|
self.colorSelectView.selectedColor = [UIColor blackColor];
|
|
self.colorSelectView.selectedColor = [UIColor blackColor];
|
|
- self.buttonWidget.fontColor = [UIColor blackColor];
|
|
|
|
|
|
+ self.buttonWidget.fontColor = self.colorSelectView.selectedColor;
|
|
[self refreshUI];
|
|
[self refreshUI];
|
|
}else{
|
|
}else{
|
|
self.colorSelectView.selectedColor = self.buttonWidget.fontColor;
|
|
self.colorSelectView.selectedColor = self.buttonWidget.fontColor;
|