aiyov
V2EX  ›  React

ReactNative

  •  
  •   aiyov · Jan 30, 2018 · 2867 views
    This topic created in 3031 days ago, the information mentioned may be changed or developed.

    reactnative 中 text 组件的 lineHeight 样式为什么不是高度居中的,而是偏下的,求解答?

    1 replies    2018-01-31 09:51:05 +08:00
    FEontheway
        1
    FEontheway  
       Jan 31, 2018   ❤️ 1
    不知道,所以我都是外边套一层 view 然后用 justifyContent: 'center'居中
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3199 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 10:53 · PVG 18:53 · LAX 03:53 · JFK 06:53
    ♥ Do have faith in what you're doing.