Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29622

Text is getting cut off in android for react native

$
0
0

I am working on React native and I am new to this. I am trying to display text, But, It's showing in an android end of the text ... and not showing complete text. It's only happening in android, working fine in iOS.

I have written following code

<Text
    numberOfLines={1}
    adjustsFontSizeToFit
    minimumFontScale={0.1}
    style={labelStyle} //labelStyle nothing I have written
  >
  </Text>

Can anyone suggest me, where I am doing wrong in the code?

enter image description here


Viewing all articles
Browse latest Browse all 29622

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>