Skip to content

Label gets cut off for fontSize > 22 #154

@kojow7

Description

@kojow7

If I specify a fontSize for the label greater than 22, the top half gets cut off. Making the radio buttons even bigger does not seem to make a difference.

Here is my code:

let radio_props = [
        {label: 'ABC         ', value: 0},
        {label: 'DEF', value: 1}
]

let menu = <View style={{marginLeft: 40, marginTop: 40}}>
         <RadioForm
             radio_props = {radio_props}
             buttonSize = {40}
             buttonOuterSize={60}
             labelStyle = {{fontSize: 30}}
             initial={this.state.mode}
             formHorizontal={true}
             onPress={(value) => this.onPress(value)}
           />
</View>

A screenshot of what I am seeing:

Screen Shot 2020-11-28 at 10 21 45 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions