Author Topic: problem with uibuttonscale  (Read 6104 times)

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
problem with uibuttonscale
« on: August 03, 2013, 06:04:23 PM »
when i use button with pc version i have a problem with uibuttonscale that isn't updated right (in unity editor all works well) . So when mouse pointer is over a button (not click!) button is scaled but when i leave button area the scaled image remain showed. so i have on oulined button with scaled image of button and color setting in inspector..i have disabled uibuttonscale to leave this indesiderate effect but i ask if there some solution.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: problem with uibuttonscale
« Reply #1 on: August 04, 2013, 12:29:19 AM »
The only reason I can think of why this wouldn't work is if your panel is marked as static.

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
Re: problem with uibuttonscale
« Reply #2 on: August 04, 2013, 09:22:46 AM »
NO! panels aren't static.

pcutile

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 81
    • View Profile
Re: problem with uibuttonscale
« Reply #3 on: August 06, 2013, 04:39:03 AM »
this problem remain as it is showed first in post! I'm sure panel used in app aren't static why scaled button remain showed after mouse pointer leave area button? This happen only in .exe because in editor it is normal!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: problem with uibuttonscale
« Reply #4 on: August 07, 2013, 05:48:52 AM »
Try to reproduce it with any of NGUI's examples. This obviously doesn't happen, which means it's something you did. Perhaps you're getting some null exception in your code that causes the execution to stop. Check the error log.