Skip to content

Sliders

Gregory "Mad Pink" Miller edited this page Oct 13, 2019 · 4 revisions

Sliders are controls that a user can set a numeric value by dragging a handle or pressing a spot on a line representing the range of values.

displayValue "Show Value"

  • Property that displays or hides the numeric value being set.
  • Default = true

displayLabel "Show Label"

  • Property that displays or hides the label describing the slider.
  • Default = true

sliderType (in progress) "Slider Type"

  • Type selector that can create a color setting system.
  • Default = "Values"

myData configuration

The follow are the subkeys that can be individually set for each control:

  • "label" - the text that will be displayed in the button
  • "min" - lowest possible value for this control; default = 0
  • "min" - highest possible value for this control; default = 100
  • "value" - the current numeric value; default = 50
  • "prefix" - string presented before value; default = " "
  • "suffix" - string presented after value; default = " "
  • "textsize" - font size for label text; default = textsize
  • "textfont" - font for label text; default = textfont
  • "textcolor" - color of the label text displayed; default = controlTextColor
  • "valuesize" - font size for the value; default =
  • "valuefont" - font for the value; default =
  • "valuecolor" - color of the numeric value displayed; default =
  • "handlecolor" - color of the handle (the part of the slider that is grabbed and slid); default =
  • "linecolor" - color of the slider line which the handle slides along; default =
  • "circle" - the radius of the circle that makes the handle; default =

Unless specified above, the value is set to "default"