Skip to content

9-slice sprite is behaving weirdly on ImageBundle #11944

@Litttlefish

Description

@Litttlefish

Discussed in #11937

Originally posted by Litttlefish February 18, 2024
I'm using the 9-slice feature on 0.13 to rewrite a counter ui, but when using it, it give me a weird result that is not scaled down.(should be 60px x 30px)
image
If I remove ImageScaleMode component, then it will give me a sprite that is correctly resized.
图片
Also I tried using it with SpriteBundle, seems working normally. (here is 240px x 30px)
图片

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-UIGraphical user interfaces, styles, layouts, and widgetsC-BugAn unexpected or incorrect behavior

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions