Author Topic: UISlicedSprite + UIAncor = wired/wrong behavior  (Read 1822 times)

Malzbier

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 93
    • View Profile
UISlicedSprite + UIAncor = wired/wrong behavior
« on: January 16, 2013, 03:32:28 AM »
NGUI is missbahaving. in my case UISlicedSprite + UIAncor  does not work fine together in some case.
My case is:
1. Make UISlicedSprite + UIAncor.
2. Press save
3. Change resolution (form iphone to ipad or back)
4. Press run.

Gets me the result shown in PIC_Wrong.tiff.
It should be like PIC_Correct.tiff.

The same is happening if i save on a resolution thats not the device resolution.

Using NGUI 2.2.0
Unity 3.5.7f6

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISlicedSprite + UIAncor = wired/wrong behavior
« Reply #1 on: January 16, 2013, 10:43:55 AM »
Without additional information regarding what the anchor is anchored to and how, there isn't much to go on.