We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a050a4a commit 9bbc659Copy full SHA for 9bbc659
2 files changed
FEPopupMenuController/FEPopupMenuController.h
@@ -61,7 +61,7 @@
61
@property (nonatomic, assign) CGFloat contentViewCornerRadius;
62
63
/**
64
- * arrow view x position , default is 70% of contentViewWidth
+ * arrow view x position , default is (contentViewWidth - 25.0)
65
*/
66
@property (nonatomic, assign) CGFloat arrowX;
67
FEPopupMenuController/FEPopupMenuController.m
@@ -33,7 +33,7 @@ -(instancetype)initWithItems:(NSArray<FEPopupMenuItem *> *)items {
33
self.contentViewPosition = CGPointMake(0,0);
34
self.contentViewBackgroundColor = [UIColor whiteColor];
35
self.contentViewCornerRadius = 8.0;
36
- self.arrowX = self.contentViewWidth * 0.7;
+ self.arrowX = self.contentViewWidth - 25.0;
37
self.isShowArrow = NO;
38
}
39
return self;
0 commit comments