The upper half of the text missing.

Hello, I want to ask a question. I’m making a native app right now. I created a text label with custom styling like this:   export const fontNotif = {     text: {         color: '#ffffff',         fontSize:40     }, }; But the result was the upper half of my text is missing. How can I fix it?
1 answers

Hello Wahyu,


You can use the attribute lineHeight, as below:


export const textSacramentoNormal = {
    text: {
        fontFamily: sacramentoFontFamily.regular,
        fontWeight: 'normal',
        fontSize: 30,
        lineHeight: 40,


For more details on how to configure custom fonts in a Mendix Native Mobile app, please see: