You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android (in simulator or in IOS work fine) when used on a Label a created TTF Font (from a file), do not vertical align the icon with the font, the font are on top. When I use a native Font works fine.
My form code to test case, as you can see on ScreenShots, on IOS and Simulador the Valign is center on the Label and on the Picker, but on Android is align on Top, this success in all components
…bottom. Did this by changing the font height calculation to be the font's bottom minus top value, rather than its font height. The bottom minus top value is yields the maximum height of a font, whereas the font height is only the recommended height. Usually these are equal, but some fonts seem to have different values here. The problem exhibited itself most clearly with lower case 'g' and 'y'.
Also updated the sample for this issue.
This is related to #2798
On Android (in simulator or in IOS work fine) when used on a Label a created TTF Font (from a file), do not vertical align the icon with the font, the font are on top. When I use a native Font works fine.
My form code to test case, as you can see on ScreenShots, on IOS and Simulador the Valign is center on the Label and on the Picker, but on Android is align on Top, this success in all components
TestCase:
https://www.dropbox.com/s/msa4ulhc7ft9se5/testCase.zip?dl=0
See in StackOverflow
https://stackoverflow.com/questions/56091606/vertical-align-with-created-ttf-font
The text was updated successfully, but these errors were encountered: