oddgames / UIToolkit

Single draw call UI solution for Unity with multi resolution support and more.
518 stars 153 forks source link

setting the size on sprites causes graphical issues in scrollable container (with picture) #135

Closed FredsonLaguna closed 11 years ago

FredsonLaguna commented 11 years ago

Whenever I use setSize() on sprites that are parented to a scrollable container, the sprites that are cut off from the top and bottom edge of the container display other images from the texture sheet. Is there anyway around this?

http://screencast.com/t/xkwJlS2th8OH

maconbot commented 11 years ago

I believe it's by design. Are you able to create another texture sheet at those sizes and just use that? Not 100% thought.

FredsonLaguna commented 11 years ago

I ended up just scaling it instead of using setSize(). Thanks though!