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

Description

A Stack allows you to create switchable subpages or sections. Each child of the stack is considered as a view that is shown exclusively, depending on the value of the stack. Most of the time, stacks are controlled by radio switches, providing one switch per stack view. If you activate the Fade option, you can add a blending effect when switching between views. If you want to connect the stack value only to a radio switch group to change the visibility of pages on the UI, without connecting the value to an engine or script module parameter, you can define a integer variable, for example Var_Pages and then set the value property of the stack to Var_Pages and do the same for the radio group switches.

 

On this page:

Properties

PropertyDescription
Name

The name of the Stack.

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.

ValueDrag and drop a HALion parameter onto this field to establish a connection. The assigned parameter will be displayed.

Alternatively, you can export the property which can then be used as a template parameter on the template level.

StyleFade: Activate this option if you want to blend views when switching.
  • No labels

1 Comment