Skip to content

sprite element size incorrect #93

@juanchaopan

Description

@juanchaopan

Hi,

Is this a bug? can anybody help me
I try to create a flex layout row, with the first element being an image of fixed size, 40 * 40, and the second element being a text filling the rest space.

However, the image becomes super large with no reason...

<pixiContainer layout={{ flexDirection: 'row', height: 40, alignItems: 'center' }}>
<pixiSprite layout={{ width:40, height:40 }} texture={iconTexture} />
<pixiText layout={{ flexGrow:1 }} text={title} />

Image

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