Skip to content

Commit

Permalink
[TIMOB-24792] Fix horizontal layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Jun 7, 2017
1 parent 4dd29fd commit efd5cd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ private void computeHorizontalLayoutPosition(TiCompositeLayout.LayoutParams para
right = Math.min(right, layoutRight);
}

if (optionLeft == null && optionRight != null) {
if (optionLeft == null && optionRight != null && (left - horiztonalLayoutPreviousRight) == measuredWidth) {
hpos[0] = layoutRight - left;
hpos[1] = layoutRight - horiztonalLayoutPreviousRight;
} else {
Expand Down

0 comments on commit efd5cd8

Please sign in to comment.