你好,我用Masonry布局怎么就跑不起来?
Closed this issue · 2 comments
542604974 commented
JhtHorizontalMarquee * amountLabel = [[JhtHorizontalMarquee alloc] initWithFrame:CGRectZero withSingleScrollDuration:8.0];
[amountLabel marqueeOfSettingWithState:MarqueeStart_H];
[self.contentView addSubview:amountLabel];
[amountLabel mas_makeConstraints:^(MASConstraintMaker *make) {
make.right.mas_equalTo(-kSpacingDistance);
make.centerY.mas_equalTo(self.contentView.mas_centerY);
make.height.mas_equalTo(20);
make.left.mas_equalTo(typeLabel.mas_right).offset(5);
}];
542604974 commented
就是横向滚动
jinht commented
@542604974 没有你这样尝试过,你可以尝试一下别的方式