修正阿语区布局

This commit is contained in:
eggmanQQQ
2024-06-24 16:24:50 +08:00
parent 67253ea1b2
commit 7320401f5d
2 changed files with 12 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>MoliStar Debug</string>
<string>MoliStar</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>

View File

@@ -129,14 +129,23 @@
}];
[self.guardPersonLabel mas_makeConstraints:^(MASConstraintMaker *make) {
if (isMSRTL()) {
make.right.mas_equalTo(self.contentImageView).offset(-8);
} else {
make.left.mas_equalTo(self.contentImageView).offset(8);
}
make.top.mas_equalTo(self.fightScoreLabel.mas_bottom).offset(8);
make.left.mas_equalTo(self.contentImageView).offset(8);
make.height.mas_equalTo(15);
}];
[self.guardScoreLabel mas_makeConstraints:^(MASConstraintMaker *make) {
if (isMSRTL()) {
make.right.mas_equalTo(self.contentImageView).offset(-8);
} else {
make.left.mas_equalTo(self.contentImageView).offset(8);
}
make.top.mas_equalTo(self.guardPersonLabel.mas_bottom).offset(8);
make.left.mas_equalTo(self.contentImageView).offset(8);
make.height.mas_equalTo(15);
}];