We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
代码布局如下:
-(void)setup { [super setup];
CGFloat space = 16; _titleLb = [[UILabel alloc] initWithTextColor:UIColorFromRGB(0x2D2D2D) font:[UIFont gs_systemFontOfSize:14 weight:regular]]; [self.contentView addSubview:_titleLb]; _titleLb.sd_layout .xIs(space) .rightSpaceToView(self.contentView, space) .yIs(0) .autoHeightRatio(0); _titleLb.isAttributedContent = YES;
}
(void)setCellModel:(GSOrderDetailTrackCellViewModel *)cellModel { [super setCellModel:cellModel];
_titleLb.attributedText = cellModel.attrTitleValue; _titleLb.isAttributedContent = YES; [self setupAutoHeightWithBottomView:_titleLb bottomMargin:cellModel.contentEdge.bottom];
The text was updated successfully, but these errors were encountered:
No branches or pull requests
代码布局如下:
-(void)setup {
[super setup];
CGFloat space = 16;
_titleLb = [[UILabel alloc] initWithTextColor:UIColorFromRGB(0x2D2D2D) font:[UIFont gs_systemFontOfSize:14 weight:regular]];
[self.contentView addSubview:_titleLb];
_titleLb.sd_layout
.xIs(space)
.rightSpaceToView(self.contentView, space)
.yIs(0)
.autoHeightRatio(0);
_titleLb.isAttributedContent = YES;
}
(void)setCellModel:(GSOrderDetailTrackCellViewModel *)cellModel {
[super setCellModel:cellModel];
_titleLb.attributedText = cellModel.attrTitleValue;
_titleLb.isAttributedContent = YES;
[self setupAutoHeightWithBottomView:_titleLb bottomMargin:cellModel.contentEdge.bottom];
}
The text was updated successfully, but these errors were encountered: