Author Topic: UISliders Broken  (Read 1235 times)

mango_tarbash

  • Guest
UISliders Broken
« on: October 21, 2013, 12:08:01 PM »
Since the latest upgrade to 3.0+ UISliders will not work vertically. The thumb is constantly offset by twice what it should be. I've set all pivots correctly - foreground is set to the bottom etc. but still the thumb clings to the centre of the bar when it's value is 0 and then progresses upwards when dragged at twice its normal rate and then off the slider bar itself.

Nothing works to fix this.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISliders Broken
« Reply #1 on: October 21, 2013, 01:36:32 PM »
Tutorial 7 - Slider works correctly... Check your transform positions.

mango_tarbash

  • Guest
Re: UISliders Broken
« Reply #2 on: October 22, 2013, 03:28:35 AM »
Thank you for the quick reply, but transforms are exactly as they should be as previously stated. The only difference from your tutorial is I am not using sliced sprites. I am using vertical strips 5x120 pixels for foreground and background. As soon as the slider widget is dragged onto the panel it is set to horizontal with the back and foreground 'appearing' vertically correct simply due to their dimensions but the 'thumb' is already detached and offset far to the right as if it were a horizontal slider which is to be expected due to the default setting. I think the problem is stemming from here as setting the slider to vertical and adjusting the pivots has no effect whatsoever on the behaviour of the thumb from this point on - it will simply float vertically atop of the slider far way from where it should be. I'll repeat - changing the fore and background pivots to any of the options gives the exact same result.