Merge branch 'feature/customeragreement_support' into 'develop'

Popup Widget

See merge request BPHV_MIPS/mvm_core_ui!109
This commit is contained in:
Pan, Xinlei (Ryan) 2019-08-09 09:48:06 -04:00
commit 1f98936143
6 changed files with 27 additions and 3 deletions

View File

@ -303,8 +303,9 @@
}
- (void)addViewToContentView:(UIView *)bottomView {
self.bottomConstraint.active = YES;
if (![self bottomViewOutsideOfScroll]) {
self.bottomConstraint.active = YES;
}
// Buttons will be at the bottom of the content view.
[self.contentView addSubview:bottomView];

View File

@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "closeXBlack.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "closeXBlack@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "closeXBlack@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 535 B

View File

@ -181,7 +181,7 @@ static const CGFloat VertialShadowOffset = 6;
+ (nonnull MFCustomButton *)addCloseButtonToView:(UIView *)view action:(ButtonTapBlock)actionBlock verticalCentered:(BOOL)verticalCentered {
MFCustomButton *button = [[MFCustomButton alloc] initWithFrame:CGRectZero];
button.translatesAutoresizingMaskIntoConstraints = NO;
[button setTitle:@"✕" forState:UIControlStateNormal];
[button setImage:[MVMCoreUIUtility imageNamed:@"closeXBlack"] forState:UIControlStateNormal];
button.titleLabel.font = [MFStyler fontForHeadlineAlternative];
//accessibility