Skip to content

Commit 7529373

Browse files
committed
Merge pull request #2 from bixbarton/master
Start and End values need to resize when changed
2 parents 58ebdab + d1f34eb commit 7529373

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CXTabView/CXTabView.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,18 +384,22 @@ - (void)setDurationLabelStartString:(NSString *)str {
384384

385385
- (void)setDurationValueEndString:(NSString *)str {
386386
self.durationEndValue.text = str;
387+
[self layoutDurationEndValue];
387388
}
388389

389390
- (void)setDurationValueStartString:(NSString *)str {
390391
self.durationStartValue.text = str;
392+
[self layoutDurationStartValue];
391393
}
392394

393395
- (void)setDurationEndString:(NSString *)str {
394396
self.durationEndValue.text = str;
397+
[self layoutDurationEndValue];
395398
}
396399

397400
- (void)setDurationStartString:(NSString *)str {
398401
self.durationStartValue.text = str;
402+
[self layoutDurationStartValue];
399403
}
400404

401405
- (void)setMode:(CXTabViewMode)mode {

0 commit comments

Comments
 (0)