File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -567,6 +567,7 @@ - (void)updateSubviewsPositionWithString: (NSString *)string
567567 WSProgressHUDStringRect.origin .y = imageOffset;
568568 [self startIndicatorAnimation: NO ];
569569 self.labelView .center = CGPointMake (hudCenterX , hudCenterY + 20 );
570+ self.labelView .textAlignment = NSTextAlignmentCenter;
570571 self.imageView .center = CGPointMake (hudCenterX, 30 );
571572 } else {
572573 self.labelView .text = string;
Original file line number Diff line number Diff line change @@ -566,6 +566,7 @@ - (void)updateSubviewsPositionWithString: (NSString *)string
566566 WSProgressHUDStringRect.origin .y = imageOffset;
567567 [self startIndicatorAnimation: NO ];
568568 self.labelView .center = CGPointMake (hudCenterX , hudCenterY + 20 );
569+ self.labelView .textAlignment = NSTextAlignmentCenter;
569570 self.imageView .center = CGPointMake (hudCenterX, 30 );
570571 } else {
571572 self.labelView .text = string;
You can’t perform that action at this time.
0 commit comments