Skip to content

Commit

Permalink
Fix label font size hasn't been customised
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverAgain11 committed Dec 19, 2023
1 parent b628f53 commit ae4d9b1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ - (NSView *)buildSynonymsAndAntonymsView:(NSString *)title parts:(NSArray<EZTran
NSArray *showingMeans = [obj.means trimToMaxCount:EZMaxFiveWordSynonymCount];
[showingMeans enumerateObjectsUsingBlock:^(NSString * _Nonnull mean, NSUInteger idx, BOOL * _Nonnull stop) {
EZBlueTextButton *wordButton = [[EZBlueTextButton alloc] init];
wordButton.fontSize = 14 * EZConfiguration.shared.currentFontSizeRatio;
[wordButton setTitle:mean];
[wrapView addSubview:wordButton];
[wordButton setClickBlock:^(EZButton *_Nonnull button) {
Expand Down

0 comments on commit ae4d9b1

Please sign in to comment.