Size to content y only

I need to scale my widget by y and obey x size. How can I do that?

you have to change the assets in the widget and not the widget itself. Then you have to scale a value, that changes the x and y size of the asset/assets

Yeah, that’s what I did to resolve this, but it would be nice to have an independent adjustment.

use a float or integer value of a new variable u have to create. Then make sure that ur asset, that should be scaled, is a variable (hook on “is variable-box” under details). At least the function u want to know is “slot as canvas slot” and then u can get the “set size-node”

271312-unbenannt.png

I tried this both in construction and in tick, it doesn’t do anything. Did this solution work for you?

Size to content but add a size box as a child with override width.

2 Likes

yes it worked for me, but mb it depends wich asset u used in your widget. would be nice to know