按钮之间无间距,按钮里的图片设置间距

This commit is contained in:
2025-11-20 21:53:46 +08:00
parent faa05e2a10
commit 31bb72c8f4
2 changed files with 3 additions and 3 deletions

View File

@@ -277,7 +277,7 @@
- (void)buildRow:(UIView *)row withKeys:(NSArray<KBKey *> *)keys edgeSpacerMultiplier:(CGFloat)edgeSpacerMultiplier {
CGFloat hInset = 6; //
CGFloat spacing = 6; //
CGFloat spacing = 0; //
UIView *previous = nil;
UIView *leftSpacer = nil;
UIView *rightSpacer = nil;