Skip to content

when Surface's enableCSSLayout is set to true, Image‘s position is not right #171

@IvyLady

Description

@IvyLady

`

     <Surface top={0} left={0}  width={size.width} height={size.height} enableCSSLayout={true}>    

        <Image style={this.getImageStyle()} src={iconUrl}/>  

        <Text style={this.getTextStyle()}>Text</Text>    

     </Surface>

`

the right position is at the top border , but I have two boder in the canvas, and the icon is at the secoend

2018-03-20_152912

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions