Page tree
Skip to end of metadata
Go to start of metadata

Description

The text control can be used to edit either strings or values, depending on the type of parameter that it is connected to. If a parameter is defined as a value, you can increase and decrease the value by clicking on the text control and dragging up and down. For string parameters, you can enter the string. With Fit String and Fit Path, there are two options to automatically shorten a string if it is getting too long to be displayed completely. For value parameters, you can add a unit that is displayed behind the value. If you want increment and decrement buttons, take the combined value box template, which contains a text control with up and down buttons.

 

On this page:

Properties

PropertyDescription
NameThe name of the Text control.
Position/Size
Position and Size of the element in pixels.

Pos x, Pos y, Width, Height (Pos = Position of upper left corner)

Attach
  • Left: If the parent is resized, the control remains attached to left edge, with the specified ratio.
  • Right: If the parent is resized, the control moves relatively to the right edge, with the specified ratio.
  • Top: If the parent is resized, the control remains attached to top edge, with the specified ratio.
  • Bottom: If the parent is resized, the control moves relatively to the bottom edge, with the specified ratio.
  • Left + Right: If the parent is resized, the control is resized horizontally relatively to the left and right edges, with the specified ratio.
  • Top + Bottom: If the parent is resized, the control is resized vertically relatively to the top and bottom edges, with the specified ratio.
Tooltip
Text that appears as a tooltip when the mouse hovers over the element.
Style
  • Fit Strings: Activate this option if you want a string to be shortened automatically if it cannot be fully displayed in the edit field. This method first removes spaces, then vowels.
  • Fit Path: Activate this option if you want a path string to be shortened automatically if it cannot be fully displayed in the edit field. This method keeps the first and last characters of the string and puts "..." in between to indicate that letters were omitted.
  • Wordwrap: Activate this option if you want to write text in more than one line. The text continues on the next line as soon as it does not fit into the current line.
  • Read-Only: Activate this option if you want to use the text as a display-only parameter which cannot be edited. (Note: Requires HALion 6.1 or higher)
Font

Allows you to select the font resource that is used to display the text.

UnitsA unit,such as milliseconds (ms) or decibel (dB), can be displayed with the value. Any string can be used. The value must be displayed in the correct value format to match the selected unit.
Alignment
Left, Right, Center H, Top, Bottom, Center V
  • Left: Aligns the text to the left side
  • Right: Aligns the text to the right side
  • Center H: Aligns the text to the horizontal center
  • Top:  Aligns the text to the top
  • Bottom:  Aligns the text to the bottom
  • Center V:  Aligns the text to the vertical center

3 Comments

  1. Sabine PfeiferAdded style "Read Only" description for H6.1