This commit is contained in:
2025-11-09 15:59:18 +08:00
parent 80b6102673
commit 553238de0c
2 changed files with 21 additions and 16 deletions

View File

@@ -27,7 +27,7 @@
- (void)layoutSubviews {
[super layoutSubviews];
// 20pt使稿
CGFloat pillHeight = 20.0;
CGFloat pillHeight = 30.0;
CGFloat vPadding = MAX(0.0, (self.contentView.bounds.size.height - pillHeight)/2.0);
CGRect frame = CGRectInset(self.contentView.bounds, 0, vPadding);
self.kb_pillBackgroundView.frame = frame;