How to change TextureProgress size?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jarlowrey

After assigning “under” and “progress” textures, dragging the edges in the editor does not force them to resize.rect_size also cannot be set

Edit: If you use a ProgressBar and assign the Fb and Bg to StyleBoxTextures and assign their textures, then you can drag to resize larger but not smaller.

:bust_in_silhouette: Reply From: SingingApple

I don’t know why it happens but you should try scaling the TextureProgress in order to change the size. Worked for me.

There is no Transform/Scale in a TextureProgress as it is a CanvasItem

jarlowrey | 2018-05-06 01:51

:bust_in_silhouette: Reply From: jarlowrey

Workaround is to Give the TextureProgress a Node2D parent, and change the Node2D’s Scale, which resizes the TP because it is a child.