Commit 2561bb38 by ludi

调整ui

parent 54ba96b7
......@@ -67,7 +67,7 @@
[self addSubview:self.subscribeContainerView];
self.subscribeInfoCardView = [[UIImageView alloc] initWithFrame:CGRectZero];
self.subscribeInfoCardView.contentMode = UIViewContentModeScaleAspectFill;
self.subscribeInfoCardView.contentMode = UIViewContentModeScaleToFill;
self.subscribeInfoCardView.image = [FUSUserCenterBunble imageNamed:@"zone_subscribe_info_bgImage"];
self.subscribeInfoCardView.userInteractionEnabled = YES;
[self.subscribeContainerView addSubview:self.subscribeInfoCardView];
......@@ -111,7 +111,7 @@
[super layoutSubviews];
self.subscribeContainerView.frame = CGRectMake(0, 0, CGRectGetWidth(self.bounds), self.subscribeContentHeight);
self.subscribeInfoCardView.frame = CGRectMake(18, 12, CGRectGetWidth(self.bounds) - 36, 124);
self.subscribeInfoCardView.frame = CGRectMake(18, 0, CGRectGetWidth(self.bounds) - 36, 124);
self.avatarImageView.frame = CGRectMake(16, 20, 64, 64);
CGFloat textOriginX = CGRectGetMaxX(self.avatarImageView.frame) + 16;
CGFloat textWidth = CGRectGetWidth(self.subscribeInfoCardView.bounds) - textOriginX - 16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment