Skip to content

Commit

Permalink
Merge pull request #4147 from vishalduggal/timob-13528-31X
Browse files Browse the repository at this point in the history
[TIMOB-13528] (3_1_X) Ensure barButtonItems do not get into layoutqueue
  • Loading branch information
Max Stepanov committed Apr 11, 2013
2 parents d0bbb8b + 8b1d242 commit 0b8c126
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions iphone/Classes/TiViewProxy.m
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,10 @@ - (TiUIView *)barButtonViewForSize:(CGSize)bounds
[self windowWillOpen];
[self setParentVisible:YES];
[self layoutChildren:NO];
[self refreshSize];
[self refreshPosition];
if (!isUsingBarButtonItem) {
[self refreshSize];
[self refreshPosition];
}
return barButtonView;
}

Expand Down

0 comments on commit 0b8c126

Please sign in to comment.