Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

<Slider> (inherits from <Frame>, creates a Slider widget) selects a value within a range.

<Slider drawLayer="" minValue="" maxValue="" defaultValue="" valueStep="" orientation="" obeyStepOnDrag="">
	<ThumbTexture />
</Slider>

Attributes[]

drawLayer (ui:DRAWLAYER) - See <Texture>.
minValue (xs:float) - Sets the left or bottom limit of the range of selectable values.
maxValue (xs:float) - Sets the right or top limit of the range of selectable values.
defaultValue (xs:float) - Normally in the range of minValue and maxValue
valueStep (xs:float) - Sets the increment by which values jump as the slider is dragged.
orientation (ui:ORIENTATION) - HORIZONTAL, VERTICAL (default).
obeyStepOnDrag (xs:boolean)

Child elements[]

<ThumbTexture> inherits from <FontString>.

Details[]

  • It is possible to programmatically set the slider to values outside the range of minValue and maxValue (the thumb just stops at one end or the other); or to values that are not an increment of valueStep. These values only constrain the user's ability to choose a value.

External links[]

Advertisement