When using textWrap on a longer text that will wrap on several lines the margins are not properly calculated for iOS. Works as expected on Android.
Test application here
e.g. textWrap for long text with margin-bottom: 60 (this)
<Button text="This a test of a wrapping button [CENTER]" textWrap="true" style="text-align:center;width:100;margin-bottom:20;" />
<Button text="This a test of a wrapping button [RIGHT]" textWrap="true" style="text-align:right;width:100;margin-bottom:20;" />
<Button text="This a test of a wrapping button [LEFT]" textWrap="true" style="text-align:left;width:100;margin-bottom:20;" />
<Button text=" This a test of a wrapping button [CENTER ICON]" textWrap="true" style="text-align:center;width:100;margin-bottom:20;" />
The same wth larger margin will look ok (if the margin is big enough to handle the wrapping of the ling text)
e.g. example looks as expected with larger margin
<Button text="This a test of a wrapping button [CENTER]" textWrap="true" style="text-align:center;width:100;margin-bottom:60;" />
<Button text="This a test of a wrapping button [RIGHT]" textWrap="true" style="text-align:right;width:100;margin-bottom:60;" />
<Button text="This a test of a wrapping button [LEFT]" textWrap="true" style="text-align:left;width:100;margin-bottom:60;" />
<Button text=" This a test of a wrapping button [CENTER ICON]" textWrap="true" style="text-align:center;width:100;margin-bottom:60;" />
Related to #4266 (comment)
When using textWrap on a longer text that will wrap on several lines the margins are not properly calculated for iOS. Works as expected on Android.
Test application here
e.g. textWrap for long text with margin-bottom: 60 (this)
The same wth larger margin will look ok (if the margin is big enough to handle the wrapping of the ling text)
e.g. example looks as expected with larger margin
Related to #4266 (comment)