Skip to content

Enhancement: Add ability for users to resize UITextureButton while keeping the border thickness  #1675

@eschan145

Description

@eschan145

UITextureButton is commonly used, because you can fully customize look and feel of your user interface. However, there is no feature to be able to resize the texture without stretching it.

The given texture is usually a button with a border.

image

However, some people may want to resize the graphic without creating a new texture or stretching it. Below is a resize picture without its borders stretched.

image

But if you don't resize the border, the picture will look overly stretched and deformed.

image

This feature will allow users to change their size of their texture button without creating a new image entirely. I asked a question on SO several months ago on this. https://stackoverflow.com/questions/73920748/how-to-resize-an-image-keeping-the-thickness-of-its-border/73922383#73922383

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