Author Topic: UISlider  (Read 60795 times)

phoenix

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 49
    • View Profile
Re: UISlider
« Reply #30 on: December 28, 2014, 01:54:58 PM »
I have created a settings page with a long list of settings.
I am using a ScrollView and Grid to contain my individual components.
And a ScrollBar to scroll to the appropriate setting component.

One of my components is a UISlider which is inside the UIScrollView and inside the Grid.

The thumb of the UISlider setting component is not moving with the Slide.

If I take the slider out of the scroll view then the thumb follows the slider but when I put the slider inside the scrollview in the grid the thumb no longer follows the slider
« Last Edit: December 28, 2014, 02:26:14 PM by phoenix »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISlider
« Reply #31 on: December 30, 2014, 01:58:28 PM »
Remove the "static" flag from your UIPanel. There is a warning about it for a reason. :P

TokyoDan

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 53
    • View Profile
Re: UISlider
« Reply #32 on: January 03, 2015, 10:42:35 PM »
I don't have a UIRoot component.

daipayanRoy

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Re: UISlider
« Reply #33 on: January 20, 2015, 03:25:25 AM »
I am fairly new to NGUI. i want to know, how do i scroll a label with text up or down based on the slider movement.
Thanks in advance. :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UISlider
« Reply #34 on: January 20, 2015, 10:32:01 PM »
Scroll a label with text? Labels don't have scrollable text. Scroll views can scroll the content, and you can put a label inside this scroll view. You can then use a slider as the scroll bar.