Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #295 from ikesyo/fix-rightbutton-margin
Browse files Browse the repository at this point in the history
Fix rightButton margin is not correctly set when autoHideRightButton …
  • Loading branch information
Ignacio Romero Zurbuchen committed Oct 26, 2015
2 parents 97246be + 6ed6b29 commit 7ccea10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/SLKTextInputbar.m
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ - (void)setAutoHideRightButton:(BOOL)hide
_autoHideRightButton = hide;

self.rightButtonWC.constant = [self slk_appropriateRightButtonWidth];

self.rightMarginWC.constant = [self slk_appropriateRightButtonMargin];

[self layoutIfNeeded];
}

Expand Down

0 comments on commit 7ccea10

Please sign in to comment.