Pārlūkot izejas kodu

PDFTools (iOS) - Push Button黑色边框处理

chenyu 1 gadu atpakaļ
vecāks
revīzija
6414ce562a

+ 1 - 0
compdfkit-tools/compdfkit-tools/Common/Views/PDFView/PDFListView/CPDFListView+Form.m

@@ -385,6 +385,7 @@
             isPushButton = YES;
             widgetAnnotation = [[CPDFButtonWidgetAnnotation alloc] initWithDocument:self.document controlType:CPDFWidgetPushButtonControl];
             CPDFButtonWidgetAnnotation *buttonWidgetAnnotationut = widgetAnnotation;
+            widgetAnnotation.borderColor = [UIColor blackColor];
             buttonWidgetAnnotationut.caption = @"Push Button";
             [widgetAnnotation setFieldName:[NSString stringWithFormat:@"%@%@",@"Push Button_",[self tagString]]];
         }