Jump to content

widgetsprite render


photo

Recommended Posts

  • 2 weeks later...

hi,

 

Is there any function to control the rendering of widgetsprite?


I'm trying to adjust to Width, but there's some problem when Width is zero or a small number.

Link to comment

100% width is 282.

 

70% ( setWidth(0.7 * 282) )

image.png.b19accf0080b3999388fcece89c66292.png

 

1% ( setWidth(0.01 * 282) )

image.png.8ae75059a9ad16a673a59c5a2ada7d6c.png

 

0% ( setWidth(0.0 * 282) )

image.png.058676616bdef016a14b8e837f93673e.png maybe It seems to be the original size of the texture.

 

I think I should use a different function than changing the width.

Link to comment
×
×
  • Create New...