1
0
mirror of https://github.com/Burrit0z/kai synced 2025-07-04 14:56:48 +00:00

horizontal

This commit is contained in:
Burrit0z
2020-06-02 17:44:04 -04:00
parent 4b5495d2b0
commit c77f972168
2 changed files with 9 additions and 3 deletions

View File

@ -135,7 +135,11 @@
}
[self.heightAnchor constraintEqualToConstant:(bannerHeight + spacing)].active = YES;
[self.widthAnchor constraintEqualToConstant:(self.frame.size.width)].active = YES;
if(kaiAlign==0) {
[self.widthAnchor constraintEqualToConstant:(self.frame.size.width)].active = YES;
} else {
[self.widthAnchor constraintEqualToAnchor:blurPlatter.widthAnchor].active = YES;
}
}