Skip to content

[Style] "letterSpacing" and "padding" is not effective on <Text /> #3485

Description

@LeoJiaXin

platform: Android4.3
simulator: Genymotion,Google Nexus 4, Android 4.3
react native version: 0.12.0
react-native-cli: 0.1.5

var React = require('react-native');

var {
    StyleSheet,
    Text
} = React;

var Test = React.createClass({
    render: function() {
        return (
            <Text style={styles.text}>123123</Text>
        );
    }
});

var styles = StyleSheet.create({
    text: {
        letterSpacing: 20,
        padding: 10,
        backgroundColor: '#f00'
    }
});

but result is:
2015-10-18 14 40 23

seems letterSpacing and padding is not supported

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help Wanted :octocat:Issues ideal for external contributors.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions