Skip to content

Control Properties

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

These properties apply to most control types. Many of these properties are the defaults that the controls will use, however they can also be overridden on any control in myData.

controlRadius "Control Corner Radius"

  • When greater than 0, makes the control into a rounded rectangle. Currently only applies to the button bar.
  • Default = 23

controlTextFont "Control Label Font"

  • Sets the font used for the labeling text. For example, the text within buttons or the text beside a switch.
  • Default = "Arial"

controlTextSize "Control Label/Text Font Size"

  • Sets the size of the font used for the labeling text. For example, the text within buttons or the text beside a switch.
  • Default = 13

controlTextColor "Control Text Color"

  • Sets the color of the text displayed on a control. (See the Colors section for more information about how to configure colors.)
  • Default = "fore"

controlTextWidth "Control Text Fixed Width"

  • Specifies the rectangle size of the label text on a control. Text will get cut off if longer than this size. Applies to Sliders and Numeric up/Down controls.
  • Default = 42

controlTextAlign "Control Text Alignment"

  • Sets the horizontal and vertical alignment of the text displayed in a control, for example the text of the Display Box.
  • Alignment consists of 2 words, the first being vertical, the second being horizontal. Options are "top left,top center,top right,center left,center center,center right,bottom left,bottom center,bottom right"
  • Default = "center center"

controlValueWidth "Control Value Fixed Width"

  • Sets the size of the font used when a value is displayed. Applies to Sliders and Numeric Up/Down controls.
  • Default = 31

controlValueFont "Control Value Font"

  • Sets the font used when a value is displayed. Applies to Sliders and Numeric Up/Down controls.
  • Default = "Courier"

controlValueSize "Control Value Font Size"

  • Sets the size of the font used when a value is displayed. Applies to Sliders and Numeric Up/Down controls.
  • Default = 31

controlValueColor "Control Value Color"

  • Sets the color of the value text when it is displayed. (See the Colors section for more information about how to configure colors.)
  • Default = "fore"

controlValuePrefix "Control - Value Prefix"

  • When a value is displayed, the specified string will appear before it.
  • For example, if "X:" is the prefix, and 541 is the value, then this will be the displayed value: X:541
  • Default = " "

controlValueSuffix "Control - Value Suffix"

  • When a value is displayed, the specified string will appear before it.
  • For example, if "%" is the Suffix, and 42 is the value, then this will be the displayed value: 42%
  • Default = " "

controlObjectColor "Control Object Color"

  • Sets the color of the control when it is static (not hilited. (See the Colors section for more information about how to configure colors.)
  • Default = "back"

controlHiliteColor "Control Hilited Color"

  • Sets the color of the control when it has been hilited (e.g. when a switch has been selected). (See the Colors section for more information about how to configure colors.)
  • Default = "hilite"

controlObjectVertical "Control Object Vertical Spacing"

  • Determines how buttons are sized and layed out vertically. It can either be even spacing in which case the size of qzqzFINISH
  • Default = "Even spacing"

controlObjectSize "Control Object Size"

  • When combined with the "Fixed Spacing" option, this property sets the exact height of each control.
  • Default = 30

controlItemSpacing "Control - Spacing Between"

  • Adds an additional buffer between each control.
  • Default = 8

controlIconA "Control - Icon A"

  • Sets an icon that will be displayed for a particular purpose.
  • Default is set differently for each control type.

controlIconB "Control - Icon B"

  • Sets an icon that will be displayed for a particular purpose.
  • Default is set differently for each control type.

controlIconColor "Control Icon Color"

  • Sets the color of the control's icon(s). (See the Colors section for more information about how to configure colors.)
  • Default = "fore"
Clone this wiki locally