From 67d3820d60cf82dc5270ad3773f9fa1f762a1248 Mon Sep 17 00:00:00 2001 From: eggmanQQQ <3671373519@qq.com> Date: Mon, 24 Jun 2024 14:11:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=A4=BC=E7=89=A9=E9=9D=A2?= =?UTF-8?q?=E6=9D=BF=20icon=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../YMRoom/View/SendGiftView/View/PIGiftInfoSegmentedView.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/YuMi/Modules/YMRoom/View/SendGiftView/View/PIGiftInfoSegmentedView.m b/YuMi/Modules/YMRoom/View/SendGiftView/View/PIGiftInfoSegmentedView.m index 0e4111d2..5b402ec2 100644 --- a/YuMi/Modules/YMRoom/View/SendGiftView/View/PIGiftInfoSegmentedView.m +++ b/YuMi/Modules/YMRoom/View/SendGiftView/View/PIGiftInfoSegmentedView.m @@ -74,8 +74,6 @@ }]; [self.titleView mas_makeConstraints:^(MASConstraintMaker *make) { make.top.leading.equalTo(self); -// make.leading.equalTo(self).offset(8); -// make.trailing.mas_equalTo(self.packGiftButton.mas_leading).offset(-16); make.height.mas_equalTo(34); make.width.mas_equalTo(kGetScaleWidth(200)); @@ -86,7 +84,7 @@ make.centerY.mas_equalTo(self.titleView); // make.height.mas_equalTo(self.titleView); // make.width.mas_equalTo(isMSRTL() ? 70:40); - make.size.mas_equalTo(CGSizeMake(20, 20)); + make.size.mas_equalTo(CGSizeMake(14, 14)); }]; // [self.totalValueLabel mas_makeConstraints:^(MASConstraintMaker *make) { // make.trailing.mas_equalTo(self.packGiftButton.mas_leading).mas_offset(-3); @@ -375,6 +373,7 @@ [_packGiftButton setBackgroundImage:[UIImage imageNamed:@"gift_bag_icon"] forState:UIControlStateNormal]; _packGiftButton.tag = GiftSegmentType_Pack; [_packGiftButton addTarget:self action:@selector(didClickGiftSegmentAction:) forControlEvents:UIControlEventTouchUpInside]; + [_packGiftButton setEnlargeEdgeWithTop:10 right:10 bottom:10 left:10]; } return _packGiftButton; }